From 37fb742ea0361030c92310a2b7d9638ad483a240 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 21 Dec 2009 12:24:44 +0100 Subject: [PATCH] Allow {UBUNTU,DEBIAN}_DIST to be set --- id-deb-build/id-pbuild-all.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/id-deb-build/id-pbuild-all.sh b/id-deb-build/id-pbuild-all.sh index b4c15a0..278302f 100755 --- a/id-deb-build/id-pbuild-all.sh +++ b/id-deb-build/id-pbuild-all.sh @@ -18,8 +18,12 @@ if test ! -e "$PKG"; then exit 1 fi PRODUCT=`echo *.dsc|sed 's/_.*//g'` -DEBIAN_DIST="squeeze etch lenny" -UBUNTU_DIST="karmic jaunty intrepid hardy" +if test -z "$DEBIAN_DIST"; then + DEBIAN_DIST="squeeze etch lenny" +fi +if test -z "$UBUNTU_DIST"; then + UBUNTU_DIST="karmic jaunty intrepid hardy" +fi if test "$2" = "upload"; then for dist in ${UBUNTU_DIST}; do -- 1.7.10.4