From: Alexey Dobriyan Date: Wed, 13 Sep 2006 03:36:01 +0000 (-0700) Subject: [PATCH] headers_check: clarify error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5e064a6c733d3902302dbaca33dd3c76af77f38;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [PATCH] headers_check: clarify error message Signed-off-by: Alexey Dobriyan Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/hdrcheck.sh b/scripts/hdrcheck.sh index cbf650dbc7d7..b5ca35aa1741 100755 --- a/scripts/hdrcheck.sh +++ b/scripts/hdrcheck.sh @@ -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