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