Summary: | doins not recursive | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Jacob Perkins <tech> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | bolke, jap1, matsuu, mholzer, usata |
Priority: | Highest | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 3277, 15193 | ||
Attachments: |
doins.diff
doins-recur.patch doins.patch |
Description
Jacob Perkins
2002-06-24 00:04:47 UTC
You can try the following to install all the files in a directory in your src_install() function: cd ${S}/<source directory> insinto <destination directory> doins `find -type f` Those are back quotes (`) and not a normal quote ('). That should install all of the files in the directory. Take out the -type f part to install empty directories as well. the prob with that is that it'll clobber files of the same name and totally lose directory structure Created attachment 15253 [details, diff]
doins.diff
yeah baby here it is !
Created attachment 15256 [details, diff]
doins-recur.patch
this one makes recurision optional ...
this way we wont break previous ebuilds and we provide the option ... i know
sometimes i wanna do `dohtml` but not give it -r
please add this asap Technically it's an enhancement, so changing the severity to reflect... this is a *very* old request and it is still not part of the base. Could this please be implemented. Off-topic: I am running into some really old bugs, which are hampering progress imho. Maybe bugzilla could use some voting system a la mozilla? As it seems that developers are getting overwhelmed with the amount of bugs (that is my impression) Created attachment 41071 [details, diff]
doins.patch
updated version to apply against cvs
Bug has been fixed and released in stable portages on or before 2.0.51-r2 |