Remove incorrect usage of -r flage for egrep (Bug 410137).
authorPaul Varner <fuzzyray@gentoo.org>
Wed, 11 Apr 2012 17:41:32 +0000 (12:41 -0500)
committerPaul Varner <fuzzyray@gentoo.org>
Wed, 11 Apr 2012 17:41:32 +0000 (12:41 -0500)
bin/euse

index 24edeb9ceb59d9d57132f96f93f15a5fd78db228..27adb723990c659ee6f7f362928a0eae1416fafe 100755 (executable)
--- 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