Skip to content

Commit 3fee7e7

Browse files
committed
win32/ifchange.bat: Discard useless message
When the destination does not exist, `del` needs to do nothing.
1 parent d768b20 commit 3fee7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/ifchange.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if exist %dest% (
8989
)
9090
)
9191
for %%I in (%1) do echo %%~I updated
92-
del /f %dest%
92+
del /f %dest% 2> nul
9393
copy %src% %dest% > nul
9494
del %src%
9595

0 commit comments

Comments
 (0)