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.
out\%config%
1 parent 041b222 commit 08b0ca9Copy full SHA for 08b0ca9
vcbuild.bat
@@ -328,8 +328,9 @@ if "%target%" == "Clean" goto exit
328
:after-build
329
rd %config%
330
if errorlevel 1 echo "Old build output exists at 'out\%config%'. Please remove." & exit /B
331
-if EXIST out\%config% mklink /D %config% out\%config%
332
-if errorlevel 1 exit /B
+:: Use /J because /D (symlink) requires special permissions.
+if EXIST out\%config% mklink /J %config% out\%config%
333
+if errorlevel 1 echo "Could not create junction to 'out\%config%'." & exit /B
334
335
:sign
336
@rem Skip signing unless the `sign` option was specified.
0 commit comments