Delete package staging directory before building.

This commit is contained in:
Donald Curtis 2012-04-29 20:01:04 -05:00
parent cc929e15d5
commit dcf97c7df6

View file

@ -533,6 +533,9 @@ of the same-named package which is to be kept."
version version
cfg))) cfg)))
(when (file-exists-p pkg-dir)
(delete-directory pkg-dir t nil))
(copy-directory file-name pkg-dir) (copy-directory file-name pkg-dir)
(pb/write-pkg-file (expand-file-name (pb/write-pkg-file (expand-file-name