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]

problems running shell scripts




Hello,

     I am trying to run some shell scripts under bash and all that happens is
that the shell scripts take a very long time to execute; when they finally
complete, all that shows up on stdout is the message "bash: <script_name> not
found"; both bash and the scripts are in the $PATH.  Has anyone else had this
problem?  I have tried putting sh.exe in /bin but that doesn't work,
     I should mention that, for other purposes, I have had to alter the
directory structure which is created during the Cygwin install so that it
reflects a more Un*x-like layout.  Specifically, I have the following:
     c:\usr\local\bin
     c:\usr\local\etc
     c:\usr\local\lib
     c:\usr\local\libexec
     c:\usr\local\man
     c:\usr\local\share

I have no problems with any other programs, diff, ls, all seem to work just
fine; only shell scripts won't run.  I have changed the magic number to point to
 /usr/local/bin instead of /bin, but that didn't help either.

Any help at all would be greatly appreciated, since I need to update some files
and would like to write some shell scripts to do this...



--
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]