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 46d6dce commit 5fce1a1Copy full SHA for 5fce1a1
vcbuild.bat
@@ -366,7 +366,8 @@ if errorlevel 1 (
366
if "%target%" == "Clean" goto exit
367
368
:after-build
369
-rd %config%
+:: Check existence of %config% before removing it.
370
+if exist %config% rd %config%
371
if errorlevel 1 echo "Old build output exists at 'out\%config%'. Please remove." & exit /B
372
:: Use /J because /D (symlink) requires special permissions.
373
if EXIST out\%config% mklink /J %config% out\%config%
0 commit comments