Commit fde004b2 authored by Evan Hunt's avatar Evan Hunt
Browse files

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

(cherry picked from commit ab7356a7)
parent 2a6d5715
Pipeline #7750 passed with stages
in 18 minutes and 13 seconds
...@@ -93,6 +93,7 @@ do ...@@ -93,6 +93,7 @@ do
test -z "$dirs" && continue; test -z "$dirs" && continue;
pat=$lib pat=$lib
test $lib = dns && pat='\(dns\|dst\)' test $lib = dns && pat='\(dns\|dst\)'
test $lib = isccfg && pat='cfg'
pat="^${pat}_[a-z0-9_]*(" pat="^${pat}_[a-z0-9_]*("
list=`git ls-files -c $dirs | grep '\.h$' | list=`git ls-files -c $dirs | grep '\.h$' |
xargs grep "$pat" | xargs grep "$pat" |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment