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
(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
This is fixed in 2.1.4.2.