delete the target file if it exists
svn: r13968 original commit: ac70e716f863ca77eb0d0ec02185e148d5fddbad
This commit is contained in:
parent
0e562a46da
commit
22ee29d234
|
@ -40,6 +40,7 @@
|
|||
(convert (file-name-from-path tmp)))
|
||||
(when (super report-output?) ; use the original
|
||||
(printf " [Output to ~a]\n" dst))
|
||||
(when (file-exists? dst) (delete-file dst))
|
||||
(copy-file (build-path tmp-dir (file-name-from-path dst)) dst))
|
||||
(cleanup)))
|
||||
(super-new)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user