delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/15/18:01:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199910152201.SAA11842@dagda.sunflower.com>
From: "Doug Wyatt" <dwyatt AT sunflower DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 15 Oct 1999 17:00:30 -0500
MIME-Version: 1.0
Subject: $PATH differs in different context
Reply-to: dwyatt AT sunflower DOT com
X-mailer: Pegasus Mail for Win32 (v3.11)

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 AT sunflower DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019