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 df230b21e3
commit 145bfa0d89
1 changed files with 1 additions and 1 deletions

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