|
|
| File: [Development] / linux-2.6-xfs / scripts / Attic / hdrcheck.sh (download)
Revision 1.1, Fri Oct 13 17:03:09 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Merge up to 2.6.18 Merge of 2.6.x-xfs-melb:linux:27192b by kenmcd. |
#!/bin/sh
for FILE in `grep '^[ \t]*#[ \t]*include[ \t]*<' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do
if [ ! -r $1/$FILE ]; then
echo $2 requires $FILE, which does not exist in exported headers
exit 1
fi
done