win32/ifchange.bat: Discard useless message

When the destination does not exist, `del` needs to do nothing.
This commit is contained in:
Nobuyoshi Nakada 2024-11-18 18:03:47 +09:00
parent d768b200ab
commit 3fee7e7d38
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465

View file

@ -89,7 +89,7 @@ if exist %dest% (
)
)
for %%I in (%1) do echo %%~I updated
del /f %dest%
del /f %dest% 2> nul
copy %src% %dest% > nul
del %src%