From eaccd9175e451eb82f00eb1c63a1f6f5d1ae7979 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 5 Feb 2009 01:39:02 +0000 Subject: [PATCH] Use a command chain after the endlocal in python-wrap.bat to allow ndiff's exit code to propagate. --- mswin32/python-wrap.bat | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mswin32/python-wrap.bat b/mswin32/python-wrap.bat index a8f75b41f..fc2d7cf2a 100755 --- a/mswin32/python-wrap.bat +++ b/mswin32/python-wrap.bat @@ -30,6 +30,5 @@ if not exist "%PYTHON%" ( exit /B 1 ) -"%PYTHON%" "%PROG%" %* - -endlocal +rem This command chaining allows the exit code to propagate. +endlocal & "%PYTHON%" "%PROG%" %*