[LEDE-DEV] [patch master 09/15] Argument mixes string and array. Use $*

Jan-Tarek Butt tarek at ring0.de
Fri Sep 30 13:02:23 PDT 2016


---
 scripts/mkits.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index cf176af..937f712 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