[openwrt/openwrt] scripts/mkits.sh: fix improper string and array concatenation

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 11 09:54:57 EDT 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7aefc85cab8c924565ae002481f0f43164e1d3d1

commit 7aefc85cab8c924565ae002481f0f43164e1d3d1
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sun Jan 5 18:31:19 2020 -0800

    scripts/mkits.sh: fix improper string and array concatenation
    
    Found with shellcheck.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 scripts/mkits.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index 53b9ec5f20..c09e537dbd 100755
--- a/scripts/mkits.sh
+++ b/scripts/mkits.sh
@@ -43,7 +43,7 @@ do
 		k ) KERNEL=$OPTARG;;
 		o ) OUTPUT=$OPTARG;;
 		v ) VERSION=$OPTARG;;
-		* ) echo "Invalid option passed to '$0' (options:$@)"
+		* ) echo "Invalid option passed to '$0' (options:$*)"
 		usage;;
 	esac
 done



More information about the lede-commits mailing list