Skip to content
Permalink
Browse files

build,win: bail vcbuild if mklink fails

PR-URL: #27216
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information...
refack committed Apr 13, 2019
1 parent 290faec commit 0fc27f6bc0a5ca8bc2a6458ee61b78906840ea7e
Showing with 3 additions and 0 deletions.
  1. +3 −0 vcbuild.bat
@@ -325,7 +325,10 @@ if errorlevel 1 (
if "%target%" == "Clean" goto exit

:after-build
rd %config%
if errorlevel 1 echo "Old build output exists at 'out\%config%'. Please remove." & exit /B
if EXIST out\%config% mklink /D %config% out\%config%
if errorlevel 1 exit /B

:sign
@rem Skip signing unless the `sign` option was specified.

0 comments on commit 0fc27f6

Please sign in to comment.
You can’t perform that action at this time.