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/package.bat
parent106908689a6ec93d9025ad78d1aaac155eb5bf6d (diff)
Added support to split GC builds into different build folders.
Diffstat (limited to 'msvc/package.bat')
-rw-r--r--msvc/package.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/msvc/package.bat b/msvc/package.bat
index d9eb9e020c3..e3bf41a008a 100644
--- a/msvc/package.bat
+++ b/msvc/package.bat
@@ -31,6 +31,10 @@ IF "\" == "%BUILD_DIR:~-1%" (
SET BUILD_DIR=%BUILD_DIR:~0,-1%
)
+IF "/" == "%BUILD_DIR:~-1%" (
+ SET BUILD_DIR=%BUILD_DIR:~0,-1%
+)
+
IF NOT EXIST %BUILD_DIR%\%PLATFORM%\lib\%CONFIG% (
ECHO Error: No lib directory available for %PLATFORM% %CONFIG% at '%BUILD_DIR%'. Any build availalbe for platform, configuration pair?
GOTO ON_ERROR