delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/24/05:15:59

From: randyc AT fc DOT hp DOT com (Randy Campbell)
Subject: Problem setting PATH variable
24 Oct 1998 05:15:59 -0700 :
Message-ID: <000c01bdfea3$abea8640$7a22060f.cygnus.gnu-win32@rc6227nt.fc.hp.com>
Reply-To: "Randy Campbell" <randyc AT fc DOT hp DOT com>
Mime-Version: 1.0
To: <gnu-win32 AT cygnus DOT com>

I am having strange difficulties setting the PATH variable in .bashrc.

I want to include /usr/local/bin in the path.

If I don't set PATH in .bashrc, i.e. accept the default, login and, on the
command line,
execute "export PATH=$PATH:/usr/local/bin", everything works fine.

If I place the same command in .bashrc, I can't resolve executables that are
in
/usr/local/bin, even though "echo $PATH" seems to show it as part of the
path,
appearing identical to the first case.

Can anyone suggest what the difference might be?

Thanks,
Randy

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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