From: pjfarley AT banet DOT net (Peter J. Farley III) Newsgroups: comp.os.msdos.djgpp Subject: Re: Subtle bash/ls/environment bug? Date: Sun, 30 Aug 1998 18:20:25 GMT Message-ID: <35e9977b.1586350@news1.banet.net> References: NNTP-Posting-Host: 32.100.112.22 Organization: IBM.NET Lines: 25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote: >On Sun, 30 Aug 1998, Peter J. Farley III wrote: > >> I have found the place in configure where the absolute path is set, it >> uses `pwd`. > >I think if you do NOT set PATH_SEPARATOR=:, `pwd` will return the normal >DOS-style path like h:/foo/bar, and everything will work. > >If you need to set PATH_SEPARATOR=: elsewhere in the script/Makefile, >just unset it on the particular command line that calls `pwd`. > >Alternatively, you could replace `pwd` with something like this: > > `pwd | sed -e s,^//\([A-z]\)/,\1:/,` Thanks again for alternatives. I think what I'll do is put a DJGPP conditional around the setting that uses `pwd` and use your last suggestion as the action when making for DJGPP. Thanks again for the (very!) helpful suggestions. ---------------------------------------------------- Peter J. Farley III (pjfarley AT nospam DOT dorsai DOT org OR pjfarley AT nospam DOT banet DOT net)