Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98017 - prepallman flaw
Summary: prepallman flaw
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-07-05 08:57 UTC by Andrej Filipcic
Modified: 2006-02-02 11:04 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 Andrej Filipcic 2005-07-05 08:57:18 UTC
Hi,

I am trying to prepare an ebuild for a local system config, which includes symlinks in /opt to directories in /afs space. links are created in ${D}/image/opt, but the following line in prepallman 

for x in "${D}"opt/*/man "${D}"usr/share/man "${D}"usr/local/man "${D}"usr/X11R6/man ; do

includes dirs outside ${D} tree. Would it be possible to replace that line with
something like 

for x in `find ${D} -name man -type d` ; do
(in analogy to prepalldocs and maybe match the dirs in original line) ?
Comment 1 SpanKY gentoo-dev 2005-07-05 16:20:58 UTC
seems a sane enough fix
Comment 2 SpanKY gentoo-dev 2005-07-28 23:12:25 UTC
committed this to head:

for x in $(find "${D}" -name man -type d -printf '%P\n') ; do
    prepman ${x%/man}
done
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-02-02 11:04:51 UTC
this has been fixed long time ago -> closing