Permalink
Browse files

Applying patch from 'Mark Mitchell' to make cake.bat return the exit …

…code of the called cake shell. Fixes #992
  • Loading branch information...
1 parent aee6458 commit f25e30d48eef55500f6be4db7fcd8ea21f9ae7f1 @markstory markstory committed Aug 11, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 cake/console/cake.bat
@@ -32,4 +32,6 @@ SET lib=%~dp0
php -q "%lib%cake.php" -working "%CD%" %*
-echo.
+echo.
+
+@exit %ERRORLEVEL%

0 comments on commit f25e30d

Please sign in to comment.