[LEDE-DEV] [PATCH v3 09/13] scripts: Argument mixes string and array. Use $*

Jan-Tarek Butt tarek at ring0.de
Thu Oct 6 01:50:36 PDT 2016


Signed-off-by: Jan-Tarek Butt <tarek at ring0.de>
---
 scripts/mkits.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index 99b86a8..24d5367 100755
--- a/scripts/mkits.sh
+++ b/scripts/mkits.sh
@@ -41,7 +41,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
-- 
2.10.0




More information about the Lede-dev mailing list