Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482130 - =sys-apps/pkgcore-0.8.6: keepdir should be an external command
Summary: =sys-apps/pkgcore-0.8.6: keepdir should be an external command
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Brian Dolbec
URL: http://dev.gentoo.org/~ulm/pms/5/pms....
Whiteboard:
Keywords:
Depends on:
Blocks: 481762
  Show dependency tree
 
Reported: 2013-08-22 18:00 UTC by Ulrich Müller
Modified: 2014-02-25 00:51 UTC (History)
2 users (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 Ulrich Müller gentoo-dev 2013-08-22 18:00:53 UTC
keepdir is currently defined as a shell function in common.lib.
However, PMS section 11.3.3.8 "Installation commands" says:

   These commands must all be external programs and not bash functions
   or aliases—that is, they must be callable from xargs.

Furthermore, the implementation in pkgcore supports -r/-R options that are neither mentioned by PMS nor used by any ebuild in the Portage tree. (And it's broken: keepdir -r will pass the option to dodir which will create a directory named "-r". ;-)
Comment 1 Tim Harder gentoo-dev 2014-02-25 00:51:33 UTC
Fixed in git, recursive support is fixed and staying around as well.