Browse Source

tools/dev/functions_undocumented.sh: limit search scope

Nathalie Furmento 13 years ago
parent
commit
4c72b2a8d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/dev/functions_undocumented.sh

+ 1 - 1
tools/dev/functions_undocumented.sh

@@ -3,7 +3,7 @@
 stcolor=$(tput sgr0)
 redcolor=$(tput setaf 1)
 
-functions=$(grep -rs 'starpu.*(.*);' include | awk -F':' '{print $2}' | sed 's/(.*//' | sed 's/.* //'| tr -d ' ' | tr -d '*')
+functions=$(grep 'starpu.*(.*);' include/*.h | awk -F':' '{print $2}' | sed 's/(.*//' | sed 's/.* //'| tr -d ' ' | tr -d '*')
 
 for func in $functions ; do
     #echo Processing function $func