mingwmake.bat
changeset 3309 a467328c29fd
parent 2976 a384a02381c0
child 3476 d525101728ae
child 3496 e1e02c2f3b94
--- a/mingwmake.bat	Wed Dec 17 01:20:13 2014 +0000
+++ b/mingwmake.bat	Sat Dec 20 01:47:07 2014 +0100
@@ -16,15 +16,15 @@
 @echo "***********************************"
 @echo "Buildung stx/libjava/experiments
 @echo "***********************************"
-@cd experiments
-@call mingwmake %1 %2
-@cd ..
+@pushd experiments
+@call mingwmake %1 %2 || exit /b "%errorlevel%"
+@popd
 
 @echo "***********************************"
 @echo "Buildung stx/libjava/tools
 @echo "***********************************"
-@cd tools
-@call mingwmake %1 %2
-@cd ..
+@pushd tools
+@call mingwmake %1 %2 || exit /b "%errorlevel%"
+@popd