mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Ensure backup files are not created during single-file package build
This commit is contained in:
parent
52de0cde23
commit
0dca11c434
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue