summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-20 13:17:19 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-20 13:17:19 +0100
commita91c4eb8dd76e10a99124854ad5c2aa14917689b (patch)
treeec98110c5b83c1c72ff15a7ddc0f68567af1189d
parent50cb55b8f335aaca08691173065bd27bdc33a482 (diff)
downloadbuildscripts-a91c4eb8dd76e10a99124854ad5c2aa14917689b.tar.gz
buildscripts-a91c4eb8dd76e10a99124854ad5c2aa14917689b.tar.bz2
buildscripts-a91c4eb8dd76e10a99124854ad5c2aa14917689b.zip
regexp modification
-rwxr-xr-xbin/itzks-build-package2
1 files changed, 1 insertions, 1 deletions
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}