diff options
author | Mario Trangoni <mjtrangoni@gmail.com> | 2021-02-06 17:58:47 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-07 13:32:49 +0200 |
commit | 71ae04011c353b0341b5ab0c16dad12ebefe6a67 (patch) | |
tree | b420ebb694fdbb1c689ffa6cf61cefa332bfa0ff | |
parent | dfee5a9886112b29f14f762016c8fe892846bfef (diff) | |
download | nx-libs-71ae04011c353b0341b5ab0c16dad12ebefe6a67.tar.gz nx-libs-71ae04011c353b0341b5ab0c16dad12ebefe6a67.tar.bz2 nx-libs-71ae04011c353b0341b5ab0c16dad12ebefe6a67.zip |
shellcheck: Fix SC2022 issue
$ find . -name "*.sh" | xargs shellcheck -i SC2022
In ./roll-tarballs.sh line 120:
ls -d nx-X11/extras/* | grep -v "nx-X11/extras/tmpMesa*" | xargs rm -r
^----------------------^ SC2022: Note that unlike globs, a* here matches 'aaa' but not 'alpha'.
For more information:
https://www.shellcheck.net/wiki/SC2022 -- Note that unlike globs, a* here m...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
-rwxr-xr-x | roll-tarballs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roll-tarballs.sh b/roll-tarballs.sh index 95b820c5a..a263c7218 100755 --- a/roll-tarballs.sh +++ b/roll-tarballs.sh @@ -117,7 +117,7 @@ if [ "x$MODE" = "xfull" ]; then # nx-X11/extras/Mesa. Deal with the Mesa.patches symlink/folder accordingly cp -Lr "nx-X11/extras/Mesa" "nx-X11/extras/tmpMesa" cp -Lr "nx-X11/extras/Mesa.patches" "nx-X11/extras/tmpMesa.patches" - ls -d nx-X11/extras/* | grep -v "nx-X11/extras/tmpMesa*" | xargs rm -r + ls -d nx-X11/extras/* | grep -v "^nx-X11/extras/tmpMesa*" | xargs rm -r mv "nx-X11/extras/tmpMesa" "nx-X11/extras/Mesa" mv "nx-X11/extras/tmpMesa.patches" "nx-X11/extras/Mesa.patches" |