Date: Mon, 2 Jun 1997 09:30:36 +0300 (IDT) From: Eli Zaretskii To: "Peter J. Farley III" cc: djgpp AT delorie DOT com Subject: Re: REPOST: DJGPP/BASH: Need setup advice, please In-Reply-To: <3391e800.9248884@news.dorsai.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 1 Jun 1997, Peter J. Farley III wrote: > in "/bin", and "/bin" *is* in the PATH. If I then reset PATH to > *just* "/bin", the "set | less" pipe works, but if I set it to > ".:/bin" it does *not* work. You aren't supposed to use `:' as PATH separator outside Bash, only *inside* the shell. Outside it, use the usual DOS `;' character, and Bash will convert it to `:' for you if you set PATH_SEPARATOR=:. When Bash sees a colon `:' in the DOS PATH, it treats it as a drive separator and will convert PATH incorrectly. > I am using PATH_EXPAND=Y and PATHSEPARATOR=: in the BAT file, and I ^^^^^^^^^^^^^ This should be PATH_SEPARATOR. > set SYSROOT=//h/djgpp > set PATH=.:/bin:%HOME%://c/://d/ut Again, don't use this syntax outside Bash. Say this instead: set SYSROOT=h:/djgpp set PATH=.;h:/djgpp/bin;%HOME%;c:/;d:/ut and Bash will do the conversion for you.