diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-20 13:17:19 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-20 13:17:19 +0100 |
commit | a91c4eb8dd76e10a99124854ad5c2aa14917689b (patch) | |
tree | ec98110c5b83c1c72ff15a7ddc0f68567af1189d | |
parent | 50cb55b8f335aaca08691173065bd27bdc33a482 (diff) | |
download | buildscripts-a91c4eb8dd76e10a99124854ad5c2aa14917689b.tar.gz buildscripts-a91c4eb8dd76e10a99124854ad5c2aa14917689b.tar.bz2 buildscripts-a91c4eb8dd76e10a99124854ad5c2aa14917689b.zip |
regexp modification
-rwxr-xr-x | bin/itzks-build-package | 2 |
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} |