From fa948e150bee29273a8c8accb68983fb942273a8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 3 Apr 2009 12:21:56 +0200 Subject: [PATCH] Run pbuilder create if not done already --- id-deb-build/id-pbuild-all.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.7.10.4