git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[pandora-kernel.git]
/
scripts
/
hdrcheck.sh
diff --git
a/scripts/hdrcheck.sh
b/scripts/hdrcheck.sh
index
b3bb683
..
3159858
100755
(executable)
--- a/
scripts/hdrcheck.sh
+++ b/
scripts/hdrcheck.sh
@@
-1,8
+1,10
@@
#!/bin/sh
#!/bin/sh
-for FILE in `grep '^
#include
<' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do
+for FILE in `grep '^
[ \t]*#[ \t]*include[ \t]*
<' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do
if [ ! -r $1/$FILE ]; then
if [ ! -r $1/$FILE ]; then
- echo $2 requires $FILE, which does not exist
+ echo $2 requires $FILE, which does not exist
in exported headers
exit 1
fi
done
exit 1
fi
done
+# FIXME: List dependencies into $3
+touch $3