fix the bad syntax

This commit is contained in:
Sylvestre Ledru 2014-08-07 20:13:42 +00:00
parent e997ddbc15
commit 3f393385c4

2
debian/orig-tar.sh vendored
View File

@ -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