summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--edksetup.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/edksetup.bat b/edksetup.bat
index 740537faa6..2f7fedef33 100644
--- a/edksetup.bat
+++ b/edksetup.bat
@@ -277,7 +277,7 @@ echo.
:NewBuild
@IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild
-@set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools
+if not defined EDK_TOOLS_PATH set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools
@call BaseTools\toolsetup.bat
@goto end