If I type bash -i release_script.sh it starts processing the script

If I type bash --login -i release_script.sh I get the error:

bash: release_script.sh: No such file or directory

I don't understand why suddenly it can't even find the script. Is the error message inaccurate or did I miss something really obvious?

link|improve this question

63% accept rate
2  
If you give an absolute path to the script, does that solve the problem? – David Schwartz Jan 26 at 9:46
feedback

1 Answer

If you are using Cygwin Bash, you can just call the script directly.

$ cd /tmp

$ echo 'echo Hello World!' > hello.sh

$ ./hello.sh
Hello World!
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.