utils/release/tag.sh: fix -revision vs. -rc check

llvm-svn: 226124
This commit is contained in:
Hans Wennborg 2015-01-15 04:36:20 +00:00
parent d706163e8b
commit 9aae7d601e

View File

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