[llvm] r243898 - [Release Script] Check for correct symlink name

Renato Golin renato.golin at linaro.org
Mon Aug 3 13:19:35 PDT 2015


Author: rengolin
Date: Mon Aug  3 15:19:35 2015
New Revision: 243898

URL: http://llvm.org/viewvc/llvm-project?rev=243898&view=rev
Log:
[Release Script] Check for correct symlink name

While checking for the existence of the clang-tools-extra directory,
the script was not checking for its destination name, "extra", and
the script was failing when re-running without checking out new
sources.

Modified:
    llvm/trunk/utils/release/test-release.sh

Modified: llvm/trunk/utils/release/test-release.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/release/test-release.sh?rev=243898&r1=243897&r2=243898&view=diff
==============================================================================
--- llvm/trunk/utils/release/test-release.sh (original)
+++ llvm/trunk/utils/release/test-release.sh Mon Aug  3 15:19:35 2015
@@ -283,7 +283,7 @@ function export_sources() {
         ln -s ../../cfe.src clang
     fi
     cd $BuildDir/llvm.src/tools/clang/tools
-    if [ ! -h clang-tools-extra ]; then
+    if [ ! -h extra ]; then
         ln -s ../../../../clang-tools-extra.src extra
     fi
     cd $BuildDir/llvm.src/projects





More information about the llvm-commits mailing list