delete the target file if it exists
svn: r13968
This commit is contained in:
parent
4566a316c9
commit
ac70e716f8
|
@ -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