From: sof Date: Tue, 27 Nov 2001 14:58:44 +0000 (+0000) Subject: [project @ 2001-11-27 14:58:44 by sof] X-Git-Tag: Approximately_9120_patches~503 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=bfc15d8962602b675134c7c6b2c087b41dd18a0c;p=ghc-hetmet.git [project @ 2001-11-27 14:58:44 by sof] Just in case, constrain /cygdrive// hardtop transformation to only apply at the root of the path. --- diff --git a/configure.in b/configure.in index d7f637d..44451a7 100644 --- a/configure.in +++ b/configure.in @@ -342,7 +342,7 @@ AC_SUBST(exeext) case $HostPlatform in i386-unknown-mingw32 | i386-unknown-cygwin32) # get rid off /cygdrive/ prefix - hardtop=`echo ${hardtop} | sed -e 's%/cygdrive/\(.\)/%\1:/%g' ` + hardtop=`echo ${hardtop} | sed -e 's%^/cygdrive/\(.\)/%\1:/%' ` hardtop_plat=`cygpath -w ${hardtop} | sed -e 's@\\\\@\\\\\\\\@g' ` ;; *)