aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/win32/make-addons.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsteps/win32/make-addons.bat')
-rw-r--r--tools/buildsteps/win32/make-addons.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildsteps/win32/make-addons.bat b/tools/buildsteps/win32/make-addons.bat
index 84a23826a0..efad84a9cf 100644
--- a/tools/buildsteps/win32/make-addons.bat
+++ b/tools/buildsteps/win32/make-addons.bat
@@ -26,7 +26,7 @@ SETLOCAL DisableDelayedExpansion
rem set Visual C++ build environment
call "%VS140COMNTOOLS%..\..\VC\bin\vcvars32.bat"
-SET WORKDIR=%WORKSPACE%
+SET WORKDIR=%base_dir%
IF "%WORKDIR%" == "" (
rem resolve the relative path
@@ -82,7 +82,7 @@ CD "%ADDONS_BUILD_PATH%"
rem determine the proper install path for the built addons
IF %install% == true (
- SET ADDONS_INSTALL_PATH=%WORKDIR%\addons
+ SET ADDONS_INSTALL_PATH=%WORKSPACE%\addons
) ELSE (
SET ADDONS_INSTALL_PATH=%WORKDIR%\project\Win32BuildSetup\BUILD_WIN32\addons
)