[LEDE-DEV] [PATCH v3 12/13] scripts: use * instead of @ to concatenate
Jan-Tarek Butt
tarek at ring0.de
Thu Oct 6 01:50:39 PDT 2016
Signed-off-by: Jan-Tarek Butt <tarek at ring0.de>
---
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 d224a5d..08707b5 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