From e113941490954ff935f24d2425d40769265b6a41 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 20 Dec 2011 13:25:05 +0100 Subject: add .dfsgX versioning support --- bin/itzks-build-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/itzks-build-package b/bin/itzks-build-package index 918f434..6f8cbee 100755 --- a/bin/itzks-build-package +++ b/bin/itzks-build-package @@ -124,7 +124,7 @@ prepare_workspace() { cd $PROJECT_DIR test -f debian/source/format && cat debian/source/format | egrep '^3.0.*\(quilt\)$' >/dev/null && { - UPSTREAM_VERSION=`head -n1 debian/changelog | sed 's,.*(\(.*\)).*,\1,' | cut -d"-" -f1` + UPSTREAM_VERSION=`head -n1 debian/changelog | sed 's,.*(\(.*\)).*,\1,' | sed 's,\(\.dfsg.*\),,' | cut -d"-" -f1` ORIG_TARBALL="${PROJECT}_${UPSTREAM_VERSION}.orig.tar.gz" git checkout --force pristine-tar && pristine-tar checkout ../${ORIG_TARBALL} } -- cgit v1.2.3