diff options
author | Mario Trangoni <mjtrangoni@gmail.com> | 2021-01-31 14:59:40 +0100 |
---|---|---|
committer | Mario Trangoni <mjtrangoni@gmail.com> | 2021-01-31 15:00:20 +0100 |
commit | afe0c1473a09120bcd3aa9c6bd853529df4d896f (patch) | |
tree | bb6076b4a812b5b5847cf5407eef5e8170a7647b | |
parent | 930fbe08bf6e17a953bc3c869a1c6b66e498d76a (diff) | |
download | nx-libs-afe0c1473a09120bcd3aa9c6bd853529df4d896f.tar.gz nx-libs-afe0c1473a09120bcd3aa9c6bd853529df4d896f.tar.bz2 nx-libs-afe0c1473a09120bcd3aa9c6bd853529df4d896f.zip |
shellcheck: Fix SC2196 issues
See,
$ find . -name "*.sh" | xargs shellcheck -i SC2196
In ./roll-tarballs.sh line 163:
sort "debian/patches/series" | grep -v '^#' | egrep "([0-9]+(_|-).*\.(full|full\+lite)\.patch)" | while read -r file
^---^ SC2196: egrep is non-standard and deprecated. Use grep -E instead.
In ./roll-tarballs.sh line 200:
sort "debian/patches/series" | grep -v '^#' | egrep "([0-9]+(_|-).*\.full\+lite\.patch)" | while read -r file
^---^ SC2196: egrep is non-standard and deprecated. Use grep -E instead.
For more information:
https://www.shellcheck.net/wiki/SC2196 -- egrep is non-standard and depreca...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
-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 1a5fac626..47b503a71 100755 --- a/roll-tarballs.sh +++ b/roll-tarballs.sh @@ -160,7 +160,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... - sort "debian/patches/series" | grep -v '^#' | egrep "([0-9]+(_|-).*\.(full|full\+lite)\.patch)" | while read -r file + sort "debian/patches/series" | grep -v '^#' | grep -E "([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" @@ -197,7 +197,7 @@ else mv LICENSE.nxcomp LICENSE # this is for 3.5.0.x only... - sort "debian/patches/series" | grep -v '^#' | egrep "([0-9]+(_|-).*\.full\+lite\.patch)" | while read -r file + sort "debian/patches/series" | grep -v '^#' | grep -E "([0-9]+(_|-).*\.full\+lite\.patch)" | while read -r file do cp -v "debian/patches/$file" "doc/applied-patches/" echo "${file##*/}" >> "doc/applied-patches/series" |