From 64c8e31eea29e032b49196f6cf03e3ecb8473dee Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 25 Nov 2008 11:18:12 +0100 Subject: [PATCH] Allow option -f to avoid pbuilder update --- id-deb-build/id-pbuild-all.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/id-deb-build/id-pbuild-all.sh b/id-deb-build/id-pbuild-all.sh index b1db5a9..534f435 100755 --- a/id-deb-build/id-pbuild-all.sh +++ b/id-deb-build/id-pbuild-all.sh @@ -1,4 +1,9 @@ #!/bin/sh +update=true +if test "$1" == "-f"; then + shift + update=false +fi PKG="$1" if test -z "$PKG"; then echo "Specify .dsc file" @@ -10,7 +15,9 @@ if test ! -e "$PKG"; then fi for dist in etch lenny; do for arch in i386 amd64; do - DIST=$dist ARCH=$arch pbuilder update --override-config + if $update; then + DIST=$dist ARCH=$arch pbuilder update --override-config + fi DIST=$dist ARCH=$arch pbuilder --build $PKG done done -- 1.7.10.4