diff options
author | lateralusX <lateralusx.github@gmail.com> | 2016-05-09 17:27:22 +0300 |
---|---|---|
committer | lateralusX <lateralusx.github@gmail.com> | 2016-06-15 10:44:24 +0300 |
commit | c60a49439ae36a3ea134e6d3f9e4e62062d8ac9c (patch) | |
tree | 27dd55e50f6cc3c5becd2e5f570bc5dcda8fae79 /msvc/install.bat | |
parent | 106908689a6ec93d9025ad78d1aaac155eb5bf6d (diff) |
Added support to split GC builds into different build folders.
Diffstat (limited to 'msvc/install.bat')
-rw-r--r-- | msvc/install.bat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/msvc/install.bat b/msvc/install.bat index e9344e20f89..0baa5857f74 100644 --- a/msvc/install.bat +++ b/msvc/install.bat @@ -33,10 +33,18 @@ IF "\" == "%BUILD_DIR:~-1%" ( SET BUILD_DIR=%BUILD_DIR:~0,-1% ) +IF "/" == "%BUILD_DIR:~-1%" ( + SET BUILD_DIR=%BUILD_DIR:~0,-1% +) + IF "\" == "%INSTALL_DIR:~-1%" ( SET INSTALL_DIR=%INSTALL_DIR:~0,-1% ) +IF "/" == "%INSTALL_DIR:~-1%" ( + SET INSTALL_DIR=%INSTALL_DIR:~0,-1% +) + IF NOT EXIST %BUILD_DIR% ( ECHO Error: '%BUILD_DIR%', directory doesn't eixst. GOTO ON_ERROR |