[Intel-gfx] [dim PATCH 04/10] dim: use $* instead of $@ within string
Jani Nikula
jani.nikula at intel.com
Fri Mar 17 10:42:55 UTC 2017
Fix shellcheck SC2145: Argument mixes string and array. Use * or
separate argument.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
Makefile | 3 +--
dim | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index a5cfd7b00d4b..d93cf2023949 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,7 @@ SC_EXCLUDE := \
-e SC2090 \
-e SC2119 \
-e SC2120 \
- -e SC2126 \
- -e SC2145
+ -e SC2126
shellcheck:
shellcheck $(SC_EXCLUDE) dim
diff --git a/dim b/dim
index 26e8bffe011e..6bc3cb9d66b4 100755
--- a/dim
+++ b/dim
@@ -124,7 +124,7 @@ HELP=
function echoerr
{
- echo "$dim: $@" >&2
+ echo "$dim: $*" >&2
}
function warn_or_fail
--
2.1.4
More information about the Intel-gfx
mailing list