Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88679 - regexp bug in euse (gentoolkit) /using grep instead egrep/
Summary: regexp bug in euse (gentoolkit) /using grep instead egrep/
Status: RESOLVED DUPLICATE of bug 75525
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-10 23:54 UTC by Eugene Naidanoff
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Naidanoff 2005-04-10 23:54:30 UTC
In /var/cvsroot/gentoolkit/src/euse/euse,v 1.4 2004/10/17 17:50:47 genon

--- euse.orig   2005-04-11 13:52:16.000000000 +0700
+++ euse        2005-04-11 13:48:16.000000000 +0700
@@ -154,7 +154,7 @@
        curdir="$(readlink -f ${MAKE_PROFILE_PATH})"
        
        while [ ! -f "${curdir}/make.defaults" -a -f "${curdir}/parent" ]; do
-               parent="$(grep -v '(^#|^ *$)' ${curdir}/parent)"
+               parent="$(egrep -v '(^#|^ *$)' ${curdir}/parent)"
                curdir="$(readlink -f ${curdir}/${parent})"
        done


Reproducible: Always
Steps to Reproduce:
1. euse -i nls
2.
3.

Actual Results:  
readlink: too many arguments
Try `readlink --help' for more information.
/usr/bin/euse: line 199: /make.defaults: No such file or directory

Expected Results:  
global use flags (searching: nls)
************************************************************
[+  D ] nls - Adds Native Language Support (using gettext - GNU locale 
utilities)

local use flags (searching: nls)
************************************************************
no matching entries found

Gentoo Profile: 
/usr/portage/profiles/default-linux/x86/2005.0

Installed apps:
sys-apps/grep-2.5.1-r7  -build -debug +nls +pcre -static (-uclibc)
app-shells/bash-3.0-r9  -build -debug +nls
app-portage/gentoolkit-0.2.0
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2005-04-12 10:16:11 UTC
Nothing to do with keychain.  Wranglers, please reassign (and set product/component)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-04-13 11:53:22 UTC

*** This bug has been marked as a duplicate of 75525 ***