This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Can't execute shell scripts.



Pardon if this is a FAQ, but I couldn't find an
answer in the FAQ.

I can't execute shell scripts.

  bash-2.02$ foo.sh
  bash: foo.sh: No such file or directory

  bash-2.02$ ./foo.sh
  bash: ./foo.sh: No such file or directory

Only by prepending sh does it work.

  bash-2.02$ sh foo.sh
  
Why is this?

Craig

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]