summaryrefslogtreecommitdiff
path: root/localpbuilder-update
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2006-01-06 22:23:47 +0000
committerJonas Smedegaard <dr@jones.dk>2006-01-06 22:23:47 +0000
commit95a34531b6aa61dabdd8a532c77a8fc7df7b483c (patch)
treef67f344c11f1eab96bd7d724dc1bca70470d7b18 /localpbuilder-update
parentaffea8dbc825e39a543809e9d747804c979c3376 (diff)
Support building for multiple pools.
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