summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2019-09-12 21:28:34 +0200
committerLevente Polyak <anthraxx@archlinux.org>2019-09-28 00:15:48 +0200
commit5246cb9aa5bdc390c793dc261b28f3439aaad4c0 (patch)
tree42c391e3fae0eca76c83344c2598d446aa857811 /makechrootpkg.in
parent144f8966608211f85fb492a4cce3c159989dd2eb (diff)
downloaddevtools-5246cb9aa5bdc390c793dc261b28f3439aaad4c0.tar.xz
checkpkg: add option to avoid keeping the tmp dir
In some cases, like default makechrootpkg execution, the temporary directory used to assemble the differences is not required. Add an option to checkpkg that allows to get rid of that directory after run and call it automatically like that in makechrootpkg. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 90a812d..4238fc3 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -412,7 +412,7 @@ else
msg2 "Downloading current versions"
if pacman --noconfirm -Swdd --logfile /dev/null "${pkgnames[@]}"; then
msg2 "Checking packages"
- sudo -u "$makepkg_user" checkpkg
+ sudo -u "$makepkg_user" checkpkg --rmdir
else
warning "Skipped checkpkg due to missing packages"
fi