diff options
author | Mario Trangoni <mjtrangoni@gmail.com> | 2021-01-31 14:53:37 +0100 |
---|---|---|
committer | Mario Trangoni <mjtrangoni@gmail.com> | 2021-01-31 14:53:37 +0100 |
commit | 22b40e690ac85ba694b999ecdfbbd91ab923b64c (patch) | |
tree | 1ede9ea950bc3934bd55ffba338c3db2a26d0227 /nx-X11/lib | |
parent | 2168bc68987c0d47f5898040ead57484d2671fb7 (diff) | |
download | nx-libs-22b40e690ac85ba694b999ecdfbbd91ab923b64c.tar.gz nx-libs-22b40e690ac85ba694b999ecdfbbd91ab923b64c.tar.bz2 nx-libs-22b40e690ac85ba694b999ecdfbbd91ab923b64c.zip |
shellcheck: Fix SC2002 issue
See,
$ find . -name "*.sh" | xargs shellcheck -i SC2002
For more information:
https://www.shellcheck.net/wiki/SC2002 -- Useless cat. Consider 'cmd < file...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
Diffstat (limited to 'nx-X11/lib')
-rw-r--r-- | nx-X11/lib/src/util/mkks.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/src/util/mkks.sh b/nx-X11/lib/src/util/mkks.sh index ab5ca80c9..1831081f9 100644 --- a/nx-X11/lib/src/util/mkks.sh +++ b/nx-X11/lib/src/util/mkks.sh @@ -1,10 +1,10 @@ #!/bin/sh -cat $* | awk 'BEGIN { \ +awk 'BEGIN { \ printf "/*\n * This file is generated from %s. Do not edit.\n */\n", \ "$(INCLUDESRC)/keysymdef.h";\ } \ /^#define/ { \ len = length($2)-3; \ printf("{ \"%s\", %s },\n", substr($2,4,len), $3); \ -}' +}' $* |