Commit afe0c147 authored by Mario Trangoni's avatar Mario Trangoni

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: 's avatarMario Trangoni <mjtrangoni@gmail.com>
parent 930fbe08
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment