projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a9be8d
)
Allow option -f to avoid pbuilder update
author
Adam Dickmeiss
<adam@lenny.(none)>
Tue, 25 Nov 2008 10:18:12 +0000
(11:18 +0100)
committer
Adam Dickmeiss
<adam@lenny.(none)>
Tue, 25 Nov 2008 10:18:12 +0000
(11:18 +0100)
id-deb-build/id-pbuild-all.sh
patch
|
blob
|
history
diff --git
a/id-deb-build/id-pbuild-all.sh
b/id-deb-build/id-pbuild-all.sh
index
b1db5a9
..
534f435
100755
(executable)
--- 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