diff options
author | Mario Trangoni <mjtrangoni@gmail.com> | 2021-01-31 15:03:17 +0100 |
---|---|---|
committer | Mario Trangoni <mjtrangoni@gmail.com> | 2021-01-31 15:03:53 +0100 |
commit | 407651b39e5d6dc1f74716e38a54e315bb251ae3 (patch) | |
tree | 18503614007f186a0acfa4240b1ef905c567a807 /nx-X11/lib | |
parent | afe0c1473a09120bcd3aa9c6bd853529df4d896f (diff) | |
download | nx-libs-407651b39e5d6dc1f74716e38a54e315bb251ae3.tar.gz nx-libs-407651b39e5d6dc1f74716e38a54e315bb251ae3.tar.bz2 nx-libs-407651b39e5d6dc1f74716e38a54e315bb251ae3.zip |
shellcheck: Fix SC2048 issue
See,
$ find . -name "*.sh" | xargs shellcheck -i SC2048
In ./nx-X11/lib/src/util/mkks.sh line 10:
}' $*
^-- SC2048: Use "$@" (with quotes) to prevent whitespace problems.
For more information:
https://www.shellcheck.net/wiki/SC2048 -- Use "$@" (with quotes) to prevent...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
Diffstat (limited to 'nx-X11/lib')
-rw-r--r-- | nx-X11/lib/src/util/mkks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/util/mkks.sh b/nx-X11/lib/src/util/mkks.sh index 1831081f9..7af0e51ab 100644 --- a/nx-X11/lib/src/util/mkks.sh +++ b/nx-X11/lib/src/util/mkks.sh @@ -7,4 +7,4 @@ awk 'BEGIN { \ /^#define/ { \ len = length($2)-3; \ printf("{ \"%s\", %s },\n", substr($2,4,len), $3); \ -}' $* +}' "$@" |