llvm.org GIT mirror llvm / 8312657
Make this script not care where it is run from by getting the llvm src root from the llvm-config script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29632 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1818 # details.
1919 ##===----------------------------------------------------------------------===##
2020
21 TOPDIR=`pwd | sed -e 's#\(.*/llvm\).*#\1#'`
21 TOPDIR=`llvm-config --src-root`
2222 if test -d "$TOPDIR" ; then
2323 cd $TOPDIR
2424 ./utils/llvmdo -dirs "include lib tools test utils examples" wc -l | awk '\