From: Kevin M. Rosenberg Date: Mon, 8 Jul 2002 17:40:13 +0000 (+0000) Subject: r2196: *** empty log message *** X-Git-Tag: v3.8.6~1017 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=6c56e4b7ea67e6e251508fbe05d486caf744c8ce r2196: *** empty log message *** --- diff --git a/debian/make-upstream.sh b/debian/make-upstream.sh index 7a601d5..97c27d8 100755 --- a/debian/make-upstream.sh +++ b/debian/make-upstream.sh @@ -39,10 +39,11 @@ DEBPKG=cl-sql PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} WORK_DIR=/usr/local/src/Work/${PKG} + +VERSION=`sed -n -e "s/${DEBPKG} (\(.*\)-[0-9.]).*/\1/p" < ${WORK_DIR}/debian/changelog |head -1` DISTDIR=${PKG}-${VERSION} DEBDIR=${DEBPKG}-${VERSION} -VERSION=`sed -n -e "s/${DEBPKG} (\(.*\)-[0-9.]).*/\1/p" < ${WORK_DIR}/debian/changelog |head -1` if [ -z "${VERSION}" ]; then echo "Can't find Debian changelog" exit 1