From: Javier Barrio Date: Mon, 13 Oct 2014 22:54:18 +0000 (-0700) Subject: scripts/headers_install.sh: fix error handling X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f9a4d1103c1c4b9fa5b23b1ddc2666f015822ef2;p=openwrt%2Fstaging%2Fblogic.git scripts/headers_install.sh: fix error handling - headers_install requires at least two arguments - missed closing quote Signed-off-by: Javier Barrio Cc: Michal Marek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 @@ #!/bin/sh -if [ $# -lt 1 ] +if [ $# -lt 2 ] then - echo "Usage: headers_install.sh OUTDIR SRCDIR [FILES...] + echo "Usage: headers_install.sh OUTDIR SRCDIR [FILES...]" echo echo "Prepares kernel header files for use by user space, by removing" echo "all compiler.h definitions and #includes, removing any"