1
0
Fork 0

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>
hifive-unleashed-5.1
Javier Barrio 2014-10-13 15:54:18 -07:00 committed by Linus Torvalds
parent 0d5e75802c
commit f9a4d1103c
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
if [ $# -lt 1 ] if [ $# -lt 2 ]
then then
echo "Usage: headers_install.sh OUTDIR SRCDIR [FILES...] echo "Usage: headers_install.sh OUTDIR SRCDIR [FILES...]"
echo echo
echo "Prepares kernel header files for use by user space, by removing" echo "Prepares kernel header files for use by user space, by removing"
echo "all compiler.h definitions and #includes, removing any" echo "all compiler.h definitions and #includes, removing any"