From 1771cea5a34ae4115691f757681b2f885568f7bb Mon Sep 17 00:00:00 2001 From: Cody Tilkins <7494772+tilkinsc@users.noreply.github.com> Date: Wed, 16 Jan 2019 11:39:34 -0500 Subject: [PATCH] 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 --- Windows/build-x86.cmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Windows/build-x86.cmd b/Windows/build-x86.cmd index 3b6b548c16..f6c1aff8b6 100644 --- a/Windows/build-x86.cmd +++ b/Windows/build-x86.cmd @@ -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%