summaryrefslogtreecommitdiffstats
path: root/test/scripts/makepkg-template_test.sh
diff options
context:
space:
mode:
authorDavid Macek <david.macek.0@gmail.com>2015-03-26 19:59:41 +0100
committerAllan McRae <allan@archlinux.org>2015-05-12 06:00:54 +0200
commitf9423cfa5d5b9f2041b70676438082faad1cd1ee (patch)
tree249584f9db92183d294ca44bead31db737b2b457 /test/scripts/makepkg-template_test.sh
parent1040ad4e71dc8ade4418f7de8f5d5578658638f3 (diff)
downloadpacman-f9423cfa5d5b9f2041b70676438082faad1cd1ee.tar.gz
pacman-f9423cfa5d5b9f2041b70676438082faad1cd1ee.tar.xz
makepkg: Empty/create only $pkgdir's relevant to current PKGBUILD
Currently makepkg clears the whole $pkgbasedir which is needless. Moreover, in the obscure case of multiple makepkg runs (with different $pkgname) that share a $pkgdirbase, only $pkgdir's from the last run will remain. Since I consider the contents of $pkgdir an important artifact, this commit restricts the deletion to individual $pkgdir's. When CLEANUP is set, the behavior is unchanged. Discussed in: https://lists.archlinux.org/pipermail/pacman-dev/2015-February/019939.html Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/scripts/makepkg-template_test.sh')
0 files changed, 0 insertions, 0 deletions