From: Adam Dickmeiss Date: Fri, 3 Apr 2009 10:21:56 +0000 (+0200) Subject: Run pbuilder create if not done already X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=fa948e150bee29273a8c8accb68983fb942273a8;p=git-tools-moved-to-github.git Run pbuilder create if not done already --- diff --git a/id-deb-build/id-pbuild-all.sh b/id-deb-build/id-pbuild-all.sh index 265c8c9..e880884 100755 --- a/id-deb-build/id-pbuild-all.sh +++ b/id-deb-build/id-pbuild-all.sh @@ -11,6 +11,9 @@ if test ! -e "$PKG"; then fi for dist in jaunty intrepid hardy etch lenny; do for arch in i386 amd64; do + if test ! -f /var/cache/pbuilder/${dist}-${arch}-base.tgz; then + DIST=$dist ARCH=$arch pbuilder create + fi if $update; then DIST=$dist ARCH=$arch pbuilder update --override-config fi