From: Adam Dickmeiss Date: Thu, 5 Nov 2009 20:27:14 +0000 (+0100) Subject: id-pbuild-all.sh uses dsc in deb-src + karmic X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=ce67322463e8b5988af4336c2c073b5d53a45f37;p=git-tools-moved-to-github.git id-pbuild-all.sh uses dsc in deb-src + karmic --- 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