Skip to content

Commit

Permalink
[PATCH] headers_check: clarify error message
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Sep 13, 2006
1 parent 120e2a9 commit d5e064a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hdrcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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
echo $2 requires $FILE, which does not exist in exported headers
exit 1
fi
done

0 comments on commit d5e064a

Please sign in to comment.