mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +00:00
always remove the old archive before rebuilding
This commit is contained in:
parent
c7eb3ce90b
commit
1de33588fc
1 changed files with 4 additions and 0 deletions
|
@ -711,6 +711,10 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
|
|||
(file-name-as-directory
|
||||
(expand-file-name file-name package-build-working-dir))))
|
||||
|
||||
|
||||
(let ((archive-entry (assq name (package-build-archive-alist))))
|
||||
(when archive-entry (pb/remove-archive archive-entry)))
|
||||
|
||||
(message "\n;;; %s\n" file-name)
|
||||
(let* ((version (pb/checkout name cfg pkg-cwd))
|
||||
(files (pb/expand-config-file-list pkg-cwd cfg))
|
||||
|
|
Loading…
Reference in a new issue