[LEDE-DEV] [patch master 12/15] use * instead of @ to concatenate

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


---
 scripts/config/lxdialog/check-lxdialog.sh | 4 ++--
 scripts/ubinize-image.sh                  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/config/lxdialog/check-lxdialog.sh b/scripts/config/lxdialog/check-lxdialog.sh
index 02f05ad..0791372 100644
--- a/scripts/config/lxdialog/check-lxdialog.sh
+++ b/scripts/config/lxdialog/check-lxdialog.sh
@@ -75,7 +75,7 @@ cc=""
 case "$1" in
 	"-check")
 		shift
-		cc="$@"
+		cc="$*"
 		check
 		;;
 	"-ccflags")
@@ -83,7 +83,7 @@ case "$1" in
 		;;
 	"-ldflags")
 		shift
-		cc="$@"
+		cc="$*"
 		ldflags
 		;;
 	"*")
diff --git a/scripts/ubinize-image.sh b/scripts/ubinize-image.sh
index d947bdd..fb094f8 100755
--- a/scripts/ubinize-image.sh
+++ b/scripts/ubinize-image.sh
@@ -94,7 +94,7 @@ while [ "$1" ]; do
 		continue
 		;;
 	"-"*)
-		ubinize_param="$@"
+		ubinize_param="$*"
 		break
 		;;
 	*)
-- 
2.10.0




More information about the Lede-dev mailing list