[mapguide-commits] r7986 - trunk/Tools/Vagrant

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Mar 3 15:29:45 PST 2014


Author: jng
Date: 2014-03-03 15:29:44 -0800 (Mon, 03 Mar 2014)
New Revision: 7986

Modified:
   trunk/Tools/Vagrant/build.bat
Log:
vagrant is a batch file, so we must use call syntax in order for execution to continue

Modified: trunk/Tools/Vagrant/build.bat
===================================================================
--- trunk/Tools/Vagrant/build.bat	2014-03-02 15:54:45 UTC (rev 7985)
+++ trunk/Tools/Vagrant/build.bat	2014-03-03 23:29:44 UTC (rev 7986)
@@ -10,17 +10,19 @@
 SET COMPONENT=Ubuntu Build
 echo [build]: MapGuide Ubuntu build
 if exist build rd /S /Q build
-vagrant up
+call vagrant up
+echo [build]: vagrant returned %errorlevel%
 if "%errorlevel%"=="1" goto error
-vagrant destroy -f
+call vagrant destroy -f
 popd
 pushd centos\x86
 SET COMPONENT=CentOS Build
 echo [build]: MapGuide CentOS build
 if exist build rd /S /Q build
-vagrant up
+call vagrant up
+echo [build]: vagrant returned %errorlevel%
 if "%errorlevel%"=="1" goto error
-vagrant destroy -f
+call vagrant destroy -f
 popd
 goto quit
 :error



More information about the mapguide-commits mailing list