checklibs needs to grep for the cfg_* prefix in lib/isccfg

(cherry picked from commit ab7356a7de)
This commit is contained in:
Evan Hunt
2018-12-06 18:08:18 -08:00
parent 2a6d571555
commit fde004b2fe
+1
View File
@@ -93,6 +93,7 @@ do
test -z "$dirs" && continue;
pat=$lib
test $lib = dns && pat='\(dns\|dst\)'
test $lib = isccfg && pat='cfg'
pat="^${pat}_[a-z0-9_]*("
list=`git ls-files -c $dirs | grep '\.h$' |
xargs grep "$pat" |