Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140379 - net-misc/l7-filter-2.2 - bad grep usage
Summary: net-misc/l7-filter-2.2 - bad grep usage
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 09:21 UTC by Jakub Moc (RETIRED)
Modified: 2006-09-27 09:32 UTC (History)
1 user (show)

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 Jakub Moc (RETIRED) gentoo-dev 2006-07-14 09:21:41 UTC
<snip>
# How to determine what version it was installed against? - measily
        eval $(/bin/fgrep KV=2 ${ROOT}/var/db/pkg/net-misc/${PF}/environment |\
                /bin/head -1)
</snip>

No-op, enviroment file in bzip-ed (environment.bz2). No idea how reliable is it otherwise, once fixed. :)
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-07-14 18:05:20 UTC
try it - it is actually unzipped before removal
Comment 2 Brian Harring (RETIRED) gentoo-dev 2006-09-27 09:32:07 UTC
the phrase "total crapshot" comes to mind.

Need a better method then this; portage decompressing that file is just portage being inefficient, it's not guranteed to remain, nor is it guranteed that file must even *exist* (both environment.bz2 and it)