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]

.BASHRC-problem


As this problem is not discussed in any of the www-help pages (that I could
find) and I couldn't find it in archives too, I'd like to ask it here.
  I keep losing my environment variables I set within my .bashrc. A
screenshot of the situation may clarify this. Here you go:
--clip--
juhaj@IO 18:20:22 /obj>echo $PATH
/bin
juhaj@IO 18:20:26 /obj>cat ~/.bashrc
#!/bin/sh.exe
PATH=$PATH:/home/juhaj/bin
export PATH
echo Test: $PATH
juhaj@IO 18:20:35 /obj>~/.bashrc
Test: /bin://d/cygnus/b18/tcl/bin:/home/juhaj/bin
juhaj@IO 18:20:42 /obj>echo $PATH
/bin
juhaj@IO 18:20:47 /obj>
--clip--
  Obviously it does not "keep" the exported variable but it also sets it all
wrong! Where did the "//d/cygnus/b18/tcl/bin:" part come from??? I am at a
total loss here. When I export variables, they should always be global, am I
right? Any ideas or fixes?
[system: NT40, intel, b18, coolview, bash-2.01]

-- 
		 -----------------------------------------------
		| Juha Jäykkä, juolja@utu.fi			|
		| home: http://www.utu.fi/~juolja/		|
		| pgp-key: http://www.utu.fi/~juolja/pgp.txt	|
		 -----------------------------------------------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]