提交 f9a4d110 编写于 作者: J Javier Barrio 提交者: Linus Torvalds

scripts/headers_install.sh: fix error handling

- headers_install requires at least two arguments

- missed closing quote
Signed-off-by: NJavier Barrio <javier.barrio.mart@gmail.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 0d5e7580
#!/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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册