diff options
Diffstat (limited to 'tools/build_scripts/a_SetVar64.bat')
-rw-r--r-- | tools/build_scripts/a_SetVar64.bat | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/build_scripts/a_SetVar64.bat b/tools/build_scripts/a_SetVar64.bat index c925711968..f14a4ea481 100644 --- a/tools/build_scripts/a_SetVar64.bat +++ b/tools/build_scripts/a_SetVar64.bat @@ -1,5 +1,7 @@ -set Drive=C: -set SourceDir=%Drive%\Sources\miranda_NG_compilation +set Drive=%~d0 +set SourceDir=%~dp0 +for %%a in (%SourceDir:~0,-1%) do set "SourceDir=%%~dpa" +for %%a in (%SourceDir:~0,-1%) do set "SourceDir=%%~dpa" set DropDir=%Drive%\Dropbox set StableInstDir=%SourceDir%\tools\installer_ng_stable set GetIt=%StableInstDir%\Tools\wget.exe |