Bug 36195 - CYGWIN and PATH environment variables should be unset when building in the MSYS shell, r=luser

git-svn-id: svn://10.0.0.236/trunk@217262 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
benjamin%smedbergs.us
2006-12-20 20:44:31 +00:00
parent 41e4fad997
commit cadeb69c98
5 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,13 @@
@ECHO OFF
set CYGWIN=
if not defined MOZ_NO_RESET_PATH (
set PATH=%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem
)
SET INCLUDE=
SET LIB=
SET MSVCROOTKEY=HKLM\SOFTWARE\Microsoft\VisualStudio
SET MSVC6KEY=%MSVCROOTKEY%\6.0\Setup\Microsoft Visual C++
SET MSVC71KEY=%MSVCROOTKEY%\7.1\Setup\VC

View File

@@ -49,7 +49,8 @@ environ["MOZ_SRCDIR"] = sourcedir
print("Source file location: " + sourcedir)
print("Output location: " + stagedir)
rmtree(join(stagedir, "mozilla-build"))
if exists(join(stagedir, "mozilla-build")):
rmtree(join(stagedir, "mozilla-build"))
check_call([join(sourcedir, "7z442.exe"),
"/D=" + join(stagedir, "mozilla-build", "7zip")])

View File

@@ -20,9 +20,6 @@ if "%VC6DIR%"=="Not Found" (
REM For MSVC6, we use the "old" non-static moztools
set MOZ_TOOLS=%MOZILLABUILD%\moztools-180compat
SET INCLUDE=
SET LIB=
rem append moztools to PATH
SET PATH=%PATH%;%MOZ_TOOLS%\bin

View File

@@ -20,9 +20,6 @@ if "%VC71DIR%"=="Not Found" (
REM Use the "new" moztools-static
set MOZ_TOOLS=%MOZILLABUILD%\moztools
SET INCLUDE=
SET LIB=
rem append moztools to PATH
SET PATH=%PATH%;%MOZ_TOOLS%\bin

View File

@@ -20,9 +20,6 @@ if "%VC8DIR%"=="Not Found" (
REM Use the "new" moztools-static
set MOZ_TOOLS=%MOZILLABUILD%\moztools
SET INCLUDE=
SET LIB=
rem append moztools to PATH
SET PATH=%PATH%;%MOZ_TOOLS%\bin