Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlateralusX <lateralusx.github@gmail.com>2016-05-09 17:27:22 +0300
committerlateralusX <lateralusx.github@gmail.com>2016-06-15 10:44:24 +0300
commitc60a49439ae36a3ea134e6d3f9e4e62062d8ac9c (patch)
tree27dd55e50f6cc3c5becd2e5f570bc5dcda8fae79 /msvc/install.bat
parent106908689a6ec93d9025ad78d1aaac155eb5bf6d (diff)
Added support to split GC builds into different build folders.
Diffstat (limited to 'msvc/install.bat')
-rw-r--r--msvc/install.bat8
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