Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_samsung_gta4xl
/
120e2a97268c312bf81ee3d8cacc75d1f75ef8b5
/
.
/
scripts
/
hdrcheck.sh
blob: cbf650dbc7d7e34fab93d49a0f85fd124aa86a61 [
file
] [
log
] [
blame
]
#!/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
exit
1
fi
done