summaryrefslogtreecommitdiff
path: root/localpbuilder-update
diff options
context:
space:
mode:
Diffstat (limited to 'localpbuilder-update')
-rwxr-xr-xlocalpbuilder-update9
1 files changed, 6 insertions, 3 deletions
diff --git a/localpbuilder-update b/localpbuilder-update
index f00b6e3..abc5ff5 100755
--- a/localpbuilder-update
+++ b/localpbuilder-update
@@ -38,8 +38,11 @@ if [ $# -eq 0 ]; then
fi
for pool in $@; do
+ basetgz="/var/cache/pbuilder/base-$pool.tgz"
+ buildplace="/var/cache/pbuilder/build-$pool/"
+ aptcache=""
sudo pbuilder update \
- --basetgz /var/cache/pbuilder/base-$pool.tgz \
- --buildplace /var/cache/pbuilder/build-$pool/ \
- --aptcache /var/cache/pbuilder/aptcache-$pool/
+ --basetgz "$basetgz" \
+ --buildplace "$buildplace" \
+ --aptcache "$aptcache"
done