aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJavier Barrio <javier.barrio.mart@gmail.com>2014-10-13 18:54:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 20:18:23 -0400
commitf9a4d1103c1c4b9fa5b23b1ddc2666f015822ef2 (patch)
treebe8f7ee2e10c3382f66a26ded8dd46d7f88dea80 /scripts
parent0d5e75802c842ecc7c4778422c2d49609a889f3a (diff)
scripts/headers_install.sh: fix error handling
- headers_install requires at least two arguments - missed closing quote Signed-off-by: Javier Barrio <javier.barrio.mart@gmail.com> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/headers_install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/headers_install.sh b/scripts/headers_install.sh
index 5de5660cb708..fdebd66f8fc1 100644
--- a/scripts/headers_install.sh
+++ b/scripts/headers_install.sh
@@ -1,8 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2
3if [ $# -lt 1 ] 3if [ $# -lt 2 ]
4then 4then
5 echo "Usage: headers_install.sh OUTDIR SRCDIR [FILES...] 5 echo "Usage: headers_install.sh OUTDIR SRCDIR [FILES...]"
6 echo 6 echo
7 echo "Prepares kernel header files for use by user space, by removing" 7 echo "Prepares kernel header files for use by user space, by removing"
8 echo "all compiler.h definitions and #includes, removing any" 8 echo "all compiler.h definitions and #includes, removing any"