forked from OSchip/llvm-project
Make this script not care where it is run from by getting the llvm src
root from the llvm-config script. llvm-svn: 29632
This commit is contained in:
parent
0c2e5412bb
commit
db3752ab6b
|
@ -19,7 +19,7 @@
|
|||
# details.
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
TOPDIR=`pwd | sed -e 's#\(.*/llvm\).*#\1#'`
|
||||
TOPDIR=`llvm-config --src-root`
|
||||
if test -d "$TOPDIR" ; then
|
||||
cd $TOPDIR
|
||||
./utils/llvmdo -dirs "include lib tools test utils examples" wc -l | awk '\
|
||||
|
|
Loading…
Reference in New Issue