Only set EDK_TOOLS_PATH if it is not already set
authorlhauch <lhauch@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 26 Sep 2007 21:35:57 +0000 (21:35 +0000)
committerlhauch <lhauch@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 26 Sep 2007 21:35:57 +0000 (21:35 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@3931 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/edksetup.bat

index 740537f..2f7fede 100644 (file)
@@ -277,7 +277,7 @@ echo.
 \r
 :NewBuild\r
 @IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild\r
-@set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools\r
+if not defined EDK_TOOLS_PATH set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools\r
 @call BaseTools\toolsetup.bat\r
 @goto end\r
 \r