From a91c4eb8dd76e10a99124854ad5c2aa14917689b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 20 Dec 2011 13:17:19 +0100 Subject: regexp modification --- bin/itzks-build-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/itzks-build-package b/bin/itzks-build-package index 57a2b35..918f434 100755 --- a/bin/itzks-build-package +++ b/bin/itzks-build-package @@ -123,7 +123,7 @@ prepare_workspace() { fi cd $PROJECT_DIR - test -f debian/source/format && cat debian/source/format | egrep "^3.0.*\(quilt\)" && { + 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` ORIG_TARBALL="${PROJECT}_${UPSTREAM_VERSION}.orig.tar.gz" git checkout --force pristine-tar && pristine-tar checkout ../${ORIG_TARBALL} -- cgit v1.2.3