mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
win32/ifchange.bat: Discard useless message
When the destination does not exist, `del` needs to do nothing.
This commit is contained in:
parent
d768b200ab
commit
3fee7e7d38
1 changed files with 1 additions and 1 deletions
|
@ -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%
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue