[project @ 2001-11-27 14:58:44 by sof]
authorsof <unknown>
Tue, 27 Nov 2001 14:58:44 +0000 (14:58 +0000)
committersof <unknown>
Tue, 27 Nov 2001 14:58:44 +0000 (14:58 +0000)
Just in case, constrain /cygdrive/<foo>/ hardtop transformation to
only apply at the root of the path.

configure.in

index d7f637d..44451a7 100644 (file)
@@ -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' `
        ;;
   *)