Gentoo Archives: gentoo-dev

From: Simon Stelling <blubb@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New emul-libs.eclass
Date: Mon, 19 Feb 2007 17:08:02
Message-Id: 45D9D868.7060307@gentoo.org
In Reply to: Re: [gentoo-dev] New emul-libs.eclass by Timothy Redaelli
1 Timothy Redaelli wrote:
2 >> # remove void directories
3 >> find "${S}" -depth -type d | xargs rmdir 2&>/dev/null
4 >
5 > Portage should remove blank dirs or am i wrong?
6
7 Yes, but only in the unmerge phase it seems, so you it installs them,
8 then checks whether they are empty and removes them again, which is both
9 stupid and confusing.
10
11 >> cp -a "${S}"/* "${D}"/ || die "copying files failed!"
12 >
13 > For future *BSD compatibility (yes i want to use the linux bsd emulation
14 > for flash, opera, etc) it's better to use rsync -a imho
15
16 I'll use cp -pPr.
17
18 --
19 Kind Regards,
20
21 Simon Stelling
22 Gentoo/AMD64 developer
23 --
24 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] New emul-libs.eclass Simon Stelling <blubb@g.o>
Re: [gentoo-dev] New emul-libs.eclass Ciaran McCreesh <ciaranm@×××××××.org>