mirror of https://gitlab.com/ita1024/waf.git
Issue 1485 again
This commit is contained in:
parent
c182070bc5
commit
95dad25c78
2
wscript
2
wscript
|
@ -394,7 +394,7 @@ def create_waf(*k, **kw):
|
||||||
if sys.platform == 'win32' or Options.options.make_batch:
|
if sys.platform == 'win32' or Options.options.make_batch:
|
||||||
f = open('waf.bat', 'w')
|
f = open('waf.bat', 'w')
|
||||||
try:
|
try:
|
||||||
f.write('@python -x "%~dp0waf" %* & exit /b %ERRORLEVEL%\n')
|
f.write('@python -x "%~dp0waf" %*\n@exit /b %ERRORLEVEL%\n')
|
||||||
finally:
|
finally:
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue