diff --git a/Code/fetch_Third_Party.bat b/Code/fetch_Third_Party.bat index e2e5908c8565a7f1840e02bd95602bc3472f30a6..b534c96efc79fb6e2f076a18d5afbc98e5f14302 100755 --- a/Code/fetch_Third_Party.bat +++ b/Code/fetch_Third_Party.bat @@ -19,7 +19,7 @@ if defined FOUND ( set GitCmd=git.exe ) else ( echo Cannot find git. Make sure the cmd folder is in your path. - exit 1 + exit /B 1 ) ) echo Using %GitCmd% @@ -52,7 +52,7 @@ if NOT "%1"=="" ( set arch=win32 ) else ( echo "Unknown architecture. Valid options are:win32,win64." - exit 1 + exit /B 1 ) ) ) @@ -81,7 +81,7 @@ echo %libs% :: Otherwise we need to clone echo Cloning Third_Party libraries from %libs% call %GitCmd% clone %libs% Third_Party/lib/%arch% -exit 0 +exit /B 0 :: Just making sure what we have is up to date :UpdateInc @@ -98,4 +98,4 @@ cd Third_Party/lib/%arch% call %GitCmd% pull :: Be sure to end up back where we started cd ../../.. -exit 0 +exit /B 0