
In its current location, the download helper for Window batch scripts, downloader.js, gets deleted when the Windows batch scripts are generated (due to a call to clean_dir). This patch moves downloader.js to the tools directory where it remains safe from clean_dir. Change-Id: I48f3daf613e8517dfb9256af298e9e43f76289bc
21 lines
482 B
Batchfile
21 lines
482 B
Batchfile
SET BATDIR=%~dp0
|
|
PUSHD %BATDIR%..
|
|
SET TOPDIR=%cd%
|
|
POPD
|
|
|
|
SET AUTODIR=%TOPDIR%\%P_AUTODIR%
|
|
SET IMGDIR=%TOPDIR%\%P_IMGDIR%
|
|
SET LOGDIR=%TOPDIR%\%P_LOGDIR%
|
|
SET STATUSDIR=%TOPDIR%\%P_STATUSDIR%
|
|
SET SHAREDIR=%TOPDIR%
|
|
SET TOOLSDIR=%TOPDIR%\tools
|
|
|
|
ECHO %time% Creating directories (if needed)
|
|
IF NOT EXIST %AUTODIR% mkdir %AUTODIR%
|
|
IF NOT EXIST %IMGDIR% mkdir %IMGDIR%
|
|
IF NOT EXIST %LOGDIR% mkdir %LOGDIR%
|
|
IF NOT EXIST %SHAREDIR% mkdir %SHAREDIR%
|
|
|
|
REM vim: set ai ts=4 sw=4 et ft=dosbatch:
|
|
|