8000
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 cc37959 commit 85f63f3Copy full SHA for 85f63f3
vcbuild.bat
@@ -337,7 +337,8 @@ if errorlevel 1 (
337
if "%target%" == "Clean" goto exit
338
339
:after-build
340
-rd %config%
+:: Check existence of %config% before removing it.
341
+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