mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
replace egrep with grep -E
This commit is contained in:
parent
a3b4ff37a3
commit
31426e13d5
@ -63,7 +63,7 @@ shift $((OPTIND - 1))
|
||||
|
||||
if [ $# -ne 0 ]; then
|
||||
EXCLUDE=$(${GP}sed -e 's/\s*#.*$//' -e '/^\s*$/d' $AGIGNORE | tr '\n' '|' | ${GP}sed -e 's/|$//')
|
||||
INPUTFILES=$(echo "$@" | tr -s '[[:blank:]]' '\n' | ${GP}egrep -iv "$EXCLUDE" | tr '\n' ' ' )
|
||||
INPUTFILES=$(echo "$@" | tr -s '[[:blank:]]' '\n' | ${GP}grep -Eiv "$EXCLUDE" | tr '\n' ' ' )
|
||||
if [[ -z $INPUTFILES ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user