mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00: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:
1 parent
e3dd1533f7
commit
1771cea5a3
1 file changed
+3
-3
@@ -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%
|
||||
|
||||
Reference in new issue
Block a user