Do a relative path ln command instead of an absolute path one. Some people strangely enough have different directory layouts...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-10-29 23:49:52 +00:00
parent 7541867dbf
commit ac6d7e4911

View File

@ -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
}