[TableGen] Move calls to getValueAsInt out of a loop since they aren't simple functio...
[oota-llvm.git] / utils / release / tag.sh
index 2dfba0450d8a367341cdb0ed99561b4b40445d17..caefc7f7b71bd5b3200c1230f7a56fe378e53a45 100755 (executable)
@@ -17,7 +17,7 @@ set -e
 release=""
 rc=""
 rebranch="no"
-projects="llvm cfe dragonegg test-suite compiler-rt libcxx libcxxabi clang-tools-extra polly lldb lld openmp"
+projects="llvm cfe test-suite compiler-rt libcxx libcxxabi clang-tools-extra polly lldb lld openmp libunwind"
 dryrun=""
 revision="HEAD"
 
@@ -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