Ensure backup files are not created during single-file package build

This commit is contained in:
Steve Purcell 2013-03-28 15:31:34 +00:00
parent 52de0cde23
commit 0dca11c434

View file

@ -725,7 +725,8 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
(when (file-exists-p pkg-target) (when (file-exists-p pkg-target)
(delete-file pkg-target t)) (delete-file pkg-target t))
(copy-file pkg-source pkg-target) (copy-file pkg-source pkg-target)
(let ((enable-local-variables :safe)) (let ((enable-local-variables :safe)
(make-backup-files nil))
(with-current-buffer (find-file pkg-target) (with-current-buffer (find-file pkg-target)
(pb/update-or-insert-version version) (pb/update-or-insert-version version)
(pb/ensure-ends-here-line pkg-source) (pb/ensure-ends-here-line pkg-source)