summaryrefslogtreecommitdiff
path: root/localpbuilder-update
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-05-21 19:30:37 +0200
committerJonas Smedegaard <dr@jones.dk>2011-05-21 19:35:07 +0200
commit35ec60f02489c9f81ac9ae37b3930353c2c37820 (patch)
tree67311271b06ff8901662efc086212af60918a89a /localpbuilder-update
parentc209fbe3f2f6dd24776ca0649182b532490f21d9 (diff)
Suppress cowbuilder/pbuilder cache (use approx instead.
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