Simon Stelling wrote:
> Hi all,
>
> I recently worked on the app-emulation/emul-linux-x86-* packages and
> used almost identical code snipplets in them, so I realized I might as
> well put together an eclass and drop the duplication. The eclass would
> provide a common template for the following packages:
[cut]
> # remove void directories
> find "${S}" -depth -type d | xargs rmdir 2&>/dev/null
Portage should remove blank dirs or am i wrong?
> cp -a "${S}"/* "${D}"/ || die "copying files failed!"
For future *BSD compatibility (yes i want to use the linux bsd emulation
for flash, opera, etc) it's better to use rsync -a imho
--
Timothy `Drizzt` Redaelli - http://dev.gentoo.org/~drizzt/
FreeSBIE Developer, Gentoo Developer, GUFI Staff
There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence. -- Jeremy S. Anderson
signature.asc
Description: OpenPGP digital signature
