-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$1
is set in contrast to bash
#89
Comments
Funny enough, when I type
|
This is very interesting. I looked into it, and this seems hard to fix because we intentionally set
|
wontfix is a disappointing label :( The difference is that your command is |
ping @edc |
I was facing the same issue today. I was just about commiting a fish version of the Anyway, I had a look at the sources, especially at this part: command = 'eval $1 && ({}; alias) >&{}'.format(
env_reader,
pipe_w
)
args = [BASH, '-c', command, 'bass', ' '.join(sys.argv[1:])] @edc Could you please explain what passing I guess changing these lines to the following would solve the issue for us: command = 'eval $0 && ({}; alias) >&{}'.format(
env_reader,
pipe_w
)
args = [BASH, '-c', command, ' '.join(sys.argv[1:])] |
Scripts that access the value of |
Thanks @zavorka. I can confirm that your PR is working with the openembedded init script. |
According to the
I think |
a.sh:
bash -c 'source a.sh'
bass source a.sh
This confuses some scripts which might accept an optional argument (in my case it's the poky script from yocto)
The text was updated successfully, but these errors were encountered: