Yet another fix for win32 gmake builds, this time for the case where the mozilla build directory is not under a /cygdrive/ path. r=cls, a=asa.

This commit is contained in:
bryner%netscape.com 2002-04-08 08:10:18 +00:00
parent c8217c7d3a
commit d7d38c7ba7

View File

@ -962,9 +962,7 @@ case "$target" in
AC_DEFINE(NO_X11)
dnl Remove cygwinism from MOZ_BUILD_ROOT
if test `echo $MOZ_BUILD_ROOT | grep -c ^/cygdrive/` != 0; then
MOZ_BUILD_ROOT=`echo $MOZ_BUILD_ROOT | sed -e 's|^/cygdrive/||' -e 's|/|:/|'`
fi
MOZ_BUILD_ROOT=`cygpath -w $MOZ_BUILD_ROOT | sed -e 's|\\\\|/|g'`
if test "$MOZ_TOOLS"; then
MOZ_TOOLS_DIR=`cd $MOZ_TOOLS && pwd`