From 2d318969f4ff92f5361004419053fd09f46ed39b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 30 Aug 2006 16:31:07 +0000 Subject: Standardized pbuilderopts support. --- localcowbuilder-login | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'localcowbuilder-login') diff --git a/localcowbuilder-login b/localcowbuilder-login index f0b3650..29a9a17 100755 --- a/localcowbuilder-login +++ b/localcowbuilder-login @@ -1,13 +1,14 @@ #!/bin/sh if [ $# -eq 0 ]; then - echo "Usage: $(basename $0) POOL" + echo "Usage: $(basename $0) POOL [cowbuilderopts]" echo "" echo "Example: $(basename $0) sarge_with_hacks" exit 1 fi pool=$1 +shift basepath="/var/cache/pbuilder/cow-$pool" buildplace="/var/cache/pbuilder/build-$pool/$$" @@ -16,4 +17,5 @@ aptcache="/var/cache/pbuilder/aptcache-$pool/" sudo cowbuilder --login \ --basepath "$basepath" \ --buildplace "$buildplace" \ - --aptcache "$aptcache" + --aptcache "$aptcache" \ + $@ -- cgit v1.2.3