We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f200a85 commit 79efff7Copy full SHA for 79efff7
vcbuild.bat
@@ -337,8 +337,8 @@ if errorlevel 1 (
337
if "%target%" == "Clean" goto exit
338
339
:after-build
340
-:: Suppress "The system cannot find the file specified." on every clean build.
341
-rd %config% > nul 2> nul
+:: Check existence of %config% before removing it.
+if exist %config% rd %config%
342
if errorlevel 1 echo "Old build output exists at 'out\%config%'. Please remove." & exit /B
343
:: Use /J because /D (symlink) requires special permissions.
344
if EXIST out\%config% mklink /J %config% out\%config%
0 commit comments