mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Added " guards to if not exists
The reason why I added this is a just-in-case due to the nature that cmd explodes when something isn't set properly... it can start executing code that shouldn't be obtained. I also fixed a minor formatting error
This commit is contained in:
parent
e3dd1533f7
commit
1771cea5a3
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ rem // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|||
if not defined vs140comntools (
|
||||
echo "Visual Studio 2015 doesn't appear to be installed properly. Quitting."
|
||||
goto quit
|
||||
) else (
|
||||
) else (
|
||||
call "%vs140comntools%\vsvars32.bat" x86_amd64
|
||||
)
|
||||
|
||||
|
@ -39,12 +39,12 @@ if not exist %PPSSPP_ROOT%\%RELEASEX86% (
|
|||
)
|
||||
call msbuild PPSSPP.sln /t:Clean %DBG_PPSSPP% /m
|
||||
call msbuild PPSSPP.sln /t:Build %DBG_PPSSPP% /m
|
||||
if not exist %PPSSPP_ROOT%\%DEBUGX86% (
|
||||
if not exist "%PPSSPP_ROOT%\%DEBUGX86%" (
|
||||
echo Debug build failed.
|
||||
goto Quit
|
||||
)
|
||||
|
||||
if not exist %RELEASE_DIR%\\. (
|
||||
if not exist "%RELEASE_DIR%\\." (
|
||||
mkdir %RELEASE_DIR%
|
||||
) else (
|
||||
rmdir /S /Q %RELEASE_DIR%
|
||||
|
|
Loading…
Add table
Reference in a new issue