refactor: set reference directory to current working directory
This commit is contained in:
@@ -5,6 +5,9 @@ set "work_dir=%~dp0build"
|
||||
set "config=%~dp0config.json"
|
||||
set "tools_dir=%~dp0scripts\platform\%platform%"
|
||||
|
||||
REM Change working dir to the dir where this script is located
|
||||
cd /d "%~dp0"
|
||||
|
||||
REM Set up enviroment
|
||||
call "%tools_dir%\setenv.bat" "%pltform_ver%"
|
||||
if "%ERRORLEVEL%" neq "0" (
|
||||
|
||||
Reference in New Issue
Block a user