Browse Source

handle subdirs

Former-commit-id: 063a9ce5ac7b5c2e4ade4bf48c25518b46c49b20
Alec Jacobson 9 years ago
parent
commit
0c7ca3bf74
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scripts/autoexplicit.sh

+ 2 - 1
scripts/autoexplicit.sh

@@ -13,7 +13,8 @@ while read line; do
   fi
   symbol=`echo "$line" | sed -e "s/^\"\(.*\)\", referenced from:$/\1/"`
   #echo "symbol = $symbol"
-  filename=`echo "$symbol" | perl -pe "s#.*?igl::([A-z0-9_]*).*$'$'#\1#"`
+  filename=`echo "$symbol" | perl -pe "s#.*?igl::([A-z0-9_:]*).*$'$'#\1#"`
+  filename=`echo "$filename" | sed -e "s/::/\//g"`
   #echo "filename = $filename"
   cpp="$LIBIGL/include/igl/$filename.cpp"
   # append .cpp and check that file exists