From 544e33ac98005b587db4e46e3b9c746da2957914 Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Sun, 4 Feb 2018 10:40:24 +0000 Subject: [PATCH] update_kernel.sh: fix syntax error Replace while [ $# > 0 ]; with while [ $# -gt 0 ] The former redirects $# to a file '0' creating a stray file as the least worrying of side effects. Signed-off-by: Kevin Darbyshire-Bryant --- update_kernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_kernel.sh b/update_kernel.sh index 198ca6b..0cbdb1d 100755 --- a/update_kernel.sh +++ b/update_kernel.sh @@ -12,7 +12,7 @@ UPDATE=0 KERNEL= PATCHVER= -while [ $# > 0 ]; do +while [ $# -gt 0 ]; do case $1 in -b|--build) BUILD=1 -- 2.30.2