Date: Tue, 23 Mar 1999 04:02:15 -0500 Message-Id: <199903230902.EAA13834@mescaline.gnu.org> From: Eli Zaretskii To: djgpp-workers AT delorie DOT com In-reply-to: <199903221956.TAA47730@out4.ibm.net> (snowball3@usa.net) Subject: Re: Bash 2.03 updated March 22nd References: <199903221956 DOT TAA47730 AT out4 DOT ibm DOT net> Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk From: "Mark E." # The following is needed, to get not the // syntax, when # the configure script or the makefile calls pwd current_drive=`pwd | sed 's,//\(.\).*,\1,'` export SYSROOT=$current_drive:/ IMHO, that's a wrong work-around for the problem, even in theprevious version of Bash. The right way to do it is to say this: current_drive=`echo.exe $pwd` etc... The magic use of echo.exe will cause Bash to convert the //c/foo into c:/foo stuff. (I'm sorry I cannot test the above now, so you might need to experiment a bit to get it right.) The trick is to call some external program, so that Bash knows it has to convert the //c/foo format. This should work in Bash 2.03 as well, even if it doesn't convert //c/foo pathnames when invoking programs.