projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utils/release/tag.sh: fix -revision vs. -rc check
[oota-llvm.git]
/
utils
/
release
/
tag.sh
diff --git
a/utils/release/tag.sh
b/utils/release/tag.sh
index 2dfba0450d8a367341cdb0ed99561b4b40445d17..503413b9c444ebefb03dac6f57c76590c919601d 100755
(executable)
--- 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$rc" = "x" ]; then
tag_version
else
- if [ "
x$revision" != "x
" ]; then
+ if [ "
$revision" != "HEAD
" ]; then
echo "error: cannot use -revision with -rc"
echo
usage
echo "error: cannot use -revision with -rc"
echo
usage