From: cgf@cygnus.com (Christopher G. Faylor)
Subject: Re: More on relative pathname
14 Jan 1999 14:16:54 GMT
Message-ID: <77ku8m$ocb$1@cronkite.cygnus.com>
References: <8135911A809AD211AF6300A02480D1750348BE@IIS000.microdata.fr> <001d01be3f17$9db783c0$bee2e183.cygnus.gnu-win32@gtw_nt.fnal.gov>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <001d01be3f17$9db783c0$bee2e183.cygnus.gnu-win32@gtw_nt.fnal.gov>,
Gordon Watts Brown University <gwatts@fnal.gov> wrote:
>Taking the suggestion of Earnie Boyd, I replaced the #!/bin/sh in my sample
>script with #!/bin/bash. Now the relative path names work fine.
>Unfortunately, I can't make this change in all the code I'm running (this is
>a port with a common source base), so I still need to get sh to work
>correctly, but it is an interesting data point, none the less. Would this
>indicate a problem in sh or in the cygwin dll below it? I guess it depends
>upon how sh invokes sub-shells.

There is a problem with cygwin, #!, and relative paths in PATH.  The
problem should be fixed in recent snapshots.
-- 
cgf@cygnus.com
http://www.cygnus.com/
