| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 46d6dce commit 5fce1a1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -366,7 +366,8 @@ if errorlevel 1 ( | |||
| 366 | 366 | if "%target%" == "Clean" goto exit | |
| 367 | 367 | ||
| 368 | 368 | :after-build | |
| 369 | - rd %config% | ||
| 369 | + :: Check existence of %config% before removing it. | ||
| 370 | + if exist %config% rd %config% | ||
| 370 | 371 | if errorlevel 1 echo "Old build output exists at 'out\%config%'. Please remove." & exit /B | |
| 371 | 372 | :: Use /J because /D (symlink) requires special permissions. | |
| 372 | 373 | if EXIST out\%config% mklink /J %config% out\%config% | |
| Back | FazBrowse Home | New Git URL |
0 commit comments