Do a relative path ln command instead of an absolute path one. Some people strangely...
authorBill Wendling <isanbard@gmail.com>
Sat, 29 Oct 2011 23:49:52 +0000 (23:49 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 29 Oct 2011 23:49:52 +0000 (23:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143302 91177308-0d34-0410-b5e6-96231b3b80d8

utils/release/test-release.sh

index 0bc6e0b..c0f283d 100755 (executable)
@@ -199,11 +199,11 @@ function export_sources() {
     echo "# Creating symlinks"
     cd $BuildDir/llvm.src/tools
     if [ ! -h clang ]; then
-        ln -s $BuildDir/cfe.src clang
+        ln -s ../../cfe.src clang
     fi
     cd $BuildDir/llvm.src/projects
     if [ ! -h llvm-test ]; then
-        ln -s $BuildDir/test-suite.src llvm-test
+        ln -s ../../test-suite.src llvm-test
     fi
     cd $BuildDir
 }