Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208743 - dosed does not document the behavior when only given filenames
Summary: dosed does not document the behavior when only given filenames
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 200044
  Show dependency tree
 
Reported: 2008-02-03 13:36 UTC by Jakub Moc (RETIRED)
Modified: 2008-02-10 07:50 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 Jakub Moc (RETIRED) gentoo-dev 2008-02-03 13:36:27 UTC
man ebuild(5)
<snip>
dosed "s:orig:change:g" <filename>
    Performs sed (including cp/mv filename) on filename.
    'dosed "s:/usr/local:/usr:g" /usr/bin/some-script' runs sed on {D}/usr/bin/some-script
</snip>

Well, it says totally nothing about `dosed /usr/bin/some-script` effectively doing sed -i "s:${D}::g" /usr/bin/some-script
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-03 13:41:57 UTC
(In reply to comment #0)
> doing sed -i "s:${D}::g" /usr/bin/some-script

Err,  
sed -i "s:${D}::g" ${D}/usr/bin/some-script of course
Comment 2 Zac Medico gentoo-dev 2008-02-10 07:50:44 UTC
This is fixed in 2.1.4.2.