浏览代码

tools/dev/functions_undocumented.sh: limit search scope

Nathalie Furmento 13 年之前
父节点
当前提交
4c72b2a8d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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