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]

$PATH differs in different context


Hi,

I simply linked /bin when I set up my Cwgwin32 installation:

    /bin -> /cygnus/cygwin-b20/H-i586-cygwin32/bin

I was just playing around with Andy Piper's 'check_cygwin_setup.sh"
and I noticed that $PATH is different in interactive Bash w/resp to the
$PATH value in a shell command file.

Bash$ echo $PATH

yields...   "/usr/local/bin:/bin:..."
    ~~~~
#!/bin/bash
#
echo $PATH

yields...  "/usr/local/bin:/cygnus/cygwin-b20/H-i586-cygwin32/bin:..."

Why is any processing done on the contents of the PATH variable?

Doug

==========================================================
Doug Wyatt                    E-Mail: dwyatt@sunflower.com
Sys Admin                      Phone: 785-843-4099
Kohlman Systems Research, Inc.   Fax: 785-843-6459
319 Perry St., Lawrence, KS  66044  USA

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