Use the -H option instead of the deprecated -follow predicate.

This commit is contained in:
Dag-Erling Smørgrav 2004-02-25 21:45:41 +00:00
parent 33dee81933
commit e9c67f69d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126244

View File

@ -20,7 +20,7 @@ LC_ALL=C; export LC_ALL
# XXX should we use an ANSI cpp?
ioctl_includes=`
cd $1
find -s * -name '*.h' -follow |
find -H -s * -name '*.h' |
xargs egrep -l \
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
awk '{printf("#include <%s>\\\\n", $1)}'