summaryrefslogtreecommitdiff
path: root/localpbuilder-login
diff options
context:
space:
mode:
Diffstat (limited to 'localpbuilder-login')
-rwxr-xr-xlocalpbuilder-login7
1 files changed, 5 insertions, 2 deletions
diff --git a/localpbuilder-login b/localpbuilder-login
index a608e88..a41f368 100755
--- a/localpbuilder-login
+++ b/localpbuilder-login
@@ -1,13 +1,14 @@
#!/bin/sh
if [ $# -eq 0 ]; then
- echo "Usage: $(basename $0) POOL"
+ echo "Usage: $(basename $0) POOL [pbuilderopts]"
echo ""
echo "Example: $(basename $0) sarge_with_hacks"
exit 1
fi
pool=$1
+shift
basetgz="/var/cache/pbuilder/base-$pool.tgz"
buildplace="/var/cache/pbuilder/build-$pool/"
@@ -16,4 +17,6 @@ aptcache="/var/cache/pbuilder/aptcache-$pool/"
sudo pbuilder --login \
--basetgz "$basetgz" \
--buildplace "$buildplace" \
- --aptcache "$aptcache"
+ --aptcache "$aptcache" \
+ $@
+