[X2Go-Commits] [nx-libs] 229/429: shellcheck: Fix SC2048 issue
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:40 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 407651b39e5d6dc1f74716e38a54e315bb251ae3
Author: Mario Trangoni <mjtrangoni at gmail.com>
Date: Sun Jan 31 15:03:17 2021 +0100
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 at gmail.com>
---
nx-X11/lib/src/util/mkks.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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); \
-}' $*
+}' "$@"
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list