-
Notifications
You must be signed in to change notification settings - Fork 37
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
Program not installed #37
Comments
Which shell are you using? |
It was tested on both bash and fish. Issue description updated. |
I can confirm issue with bash 3.2.
|
Issue was introduced in this commit: 5f7e2d5#diff-23a58bf9274bedb19375e527a0744fa9R357 Effectively adding "$@" to 'main' function call solves the issue. If you'd like to PR please go ahead, otherwise I'm gonna give a shot at it. Best regards, |
Thanks for confirming the findings, and please go ahead with your PR. Have a nice day. |
I just made #40 PR. I didn't see this issue 😄 |
On my Debian 8.6, with would not work on any program, giving the
error: Program is not installed
message. This happened on both bash and fish shells.It seems that you missed a
"$@"
in the last line, and parameters are not passed to your script.I changed the last line from
main
tomain "$@"
and things started working again. I am not sure if there are side-effects, as a result I posted this as an issue so more people could help.The text was updated successfully, but these errors were encountered: