blob: 8f0160a18215ededf4692c8b3a9e2bb9327acb2f [file] [log] [blame]
@echo off
@rem We're in a submodule directory, look relative to the parent.
call python "%cd%\..\third_party\scons\" "--site-dir=..\site_scons" %*
goto omega
call python "%cd%\third_party\scons\" --site-dir=site_scons %*
goto omega
@rem Per the following page:
@rem Just calling "exit /b" passes back an exit code, but in a way
@rem that does NOT get picked up correctly when executing the .bat
@rem file from the Python subprocess module. Using "call" as the
@rem last command in the .bat file makes it work as expected.
exit /b %ERRORLEVEL%
call :returncode %ERRORLEVEL%