From 3f393385c4d6e587dc65d93ef0d55e05034bae6d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 7 Aug 2014 20:13:42 +0000 Subject: [PATCH] fix the bad syntax --- debian/orig-tar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index aa511b82..79f04fe7 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -77,7 +77,7 @@ if test -n "$RCRELEASE"; then FULL_VERSION="llvm-toolchain-"$MAJOR_VERSION"_"$VERSION else VERSION=$CURRENT_VERSION"~svn"$REVISION - if grep -q release_ $BRANCH; then + if echo $BRANCH|grep -q release_; then FULL_VERSION="llvm-toolchain-"$MAJOR_VERSION"_"$VERSION else FULL_VERSION="llvm-toolchain-snapshot_"$VERSION