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 /roll-tarballs.sh | |
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 'roll-tarballs.sh')
-rwxr-xr-x | roll-tarballs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roll-tarballs.sh b/roll-tarballs.sh index 5d0b7c215..2e2a19f7a 100755 --- a/roll-tarballs.sh +++ b/roll-tarballs.sh @@ -161,7 +161,7 @@ if [ "x$MODE" = "xfull" ]; then find nx-X11/extras/Mesa/ -name descrip.mms | while read -r file; do rm "$file"; done # this is for 3.5.0.x only... - cat "debian/patches/series" | sort | grep -v '^#' | egrep "([0-9]+(_|-).*\.(full|full\+lite)\.patch)" | while read -r file + sort "debian/patches/series" | grep -v '^#' | egrep "([0-9]+(_|-).*\.(full|full\+lite)\.patch)" | while read -r file do cp -v "debian/patches/$file" "doc/applied-patches/" echo "${file##*/}" >> "doc/applied-patches/series" @@ -198,7 +198,7 @@ else mv LICENSE.nxcomp LICENSE # this is for 3.5.0.x only... - cat "debian/patches/series" | sort | grep -v '^#' | egrep "([0-9]+(_|-).*\.full\+lite\.patch)" | while read -r file + sort "debian/patches/series" | grep -v '^#' | egrep "([0-9]+(_|-).*\.full\+lite\.patch)" | while read -r file do cp -v "debian/patches/$file" "doc/applied-patches/" echo "${file##*/}" >> "doc/applied-patches/series" |