summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsylvestre <sylvestre@670adf90-79fe-46c2-b027-9eb1e76e7c7d>2014-08-05 15:57:30 +0000
committersylvestre <sylvestre@670adf90-79fe-46c2-b027-9eb1e76e7c7d>2014-08-05 15:57:30 +0000
commitd683a4432b1a1f43d20dfe5faa6e5e25729b1155 (patch)
treeef632bbbc44f8f37670b457e6decad13523d0f6a
parente2eedbf8911c953bbbabdddbe1d7ab9cd4ecdc9c (diff)
downloadllvm-toolchain-3.5-d683a4432b1a1f43d20dfe5faa6e5e25729b1155.tar.gz
fix the check
git-svn-id: svn://svn.debian.org/svn/pkg-llvm/llvm-toolchain/branches/3.5@1318 670adf90-79fe-46c2-b027-9eb1e76e7c7d
-rwxr-xr-xdebian/orig-tar.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 9a2c033..4ebeed6 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