--- 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