From 961f28cd71efe2cfd6cd3d9ab19f8cc801e84e46 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Thu, 15 Jan 2015 04:36:20 +0000 Subject: [PATCH] utils/release/tag.sh: fix -revision vs. -rc check git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226124 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/release/tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/release/tag.sh b/utils/release/tag.sh index 2dfba0450d8..503413b9c44 100755 --- a/utils/release/tag.sh +++ b/utils/release/tag.sh @@ -117,7 +117,7 @@ tag_release=`echo $release | sed -e 's,\.,,g'` if [ "x$rc" = "x" ]; then tag_version else - if [ "x$revision" != "x" ]; then + if [ "$revision" != "HEAD" ]; then echo "error: cannot use -revision with -rc" echo usage -- 2.34.1