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