From ce67322463e8b5988af4336c2c073b5d53a45f37 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 5 Nov 2009 21:27:14 +0100 Subject: [PATCH] id-pbuild-all.sh uses dsc in deb-src + karmic --- id-deb-build/id-pbuild-all.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/id-deb-build/id-pbuild-all.sh b/id-deb-build/id-pbuild-all.sh index 796eddd..b4c15a0 100755 --- a/id-deb-build/id-pbuild-all.sh +++ b/id-deb-build/id-pbuild-all.sh @@ -2,6 +2,14 @@ update=true PKG="$1" if test -z "$PKG"; then + if test -d deb-src; then + cd deb-src + for d in *.dsc; do + PKG=$d + done + fi +fi +if test -z "$PKG"; then echo "Specify .dsc file" exit 1 fi @@ -11,7 +19,7 @@ if test ! -e "$PKG"; then fi PRODUCT=`echo *.dsc|sed 's/_.*//g'` DEBIAN_DIST="squeeze etch lenny" -UBUNTU_DIST="jaunty intrepid hardy" +UBUNTU_DIST="karmic jaunty intrepid hardy" if test "$2" = "upload"; then for dist in ${UBUNTU_DIST}; do -- 1.7.10.4