Index: tools/clang/scripts/package.sh |
diff --git a/tools/clang/scripts/package.sh b/tools/clang/scripts/package.sh |
index f00abb486d871ede199fe18d53ca116d148a4ae9..e0c0fcc45a25094dec26a7f8d5c9779c387457da 100755 |
--- a/tools/clang/scripts/package.sh |
+++ b/tools/clang/scripts/package.sh |
@@ -87,7 +87,7 @@ fi |
${extra_flags} 2>&1 | tee -a buildlog.txt |
R=$("${LLVM_BIN_DIR}/clang" --version | \ |
- sed -ne 's/clang version .*(\([0-9]*\))/\1/p') |
+ sed -ne 's/clang version .*(trunk \([0-9]*\))/\1/p') |
PDIR=clang-$R |
rm -rf $PDIR |