From: Paul Varner Date: Wed, 11 Apr 2012 17:41:32 +0000 (-0500) Subject: Remove incorrect usage of -r flage for egrep (Bug 410137). X-Git-Tag: gentoolkit-0.3.0.6~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34f3d9824db09afe71e5254e2f75f9379b7c2b63;p=gentoolkit.git Remove incorrect usage of -r flage for egrep (Bug 410137). --- diff --git a/bin/euse b/bin/euse index 24edeb9..27adb72 100755 --- a/bin/euse +++ b/bin/euse @@ -1126,7 +1126,7 @@ modify_package() { echo "Adding \"${PACKAGE}[${flag}]\" use flag in \"${filename}\"" local added=0 while read line; do - if [[ -n $(echo "${line}" | egrep -re "^[^#]*${PACKAGE} ") ]]; then + if [[ -n $(echo "${line}" | egrep -e "^[^#]*${PACKAGE} ") ]]; then echo $(reduce_package_use "${line} ${flag}") added=1 else