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 |