Timothy Redaelli wrote:
# remove void directories
find "${S}" -depth -type d | xargs rmdir 2&>/dev/null
Portage should remove blank dirs or am i wrong?
Yes, but only in the unmerge phase it seems, so you it installs them,
then checks whether they are empty and removes them again, which is both
stupid and confusing.
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
I'll use cp -pPr.
--
Kind Regards,
Simon Stelling
Gentoo/AMD64 developer
--
gentoo-dev@gentoo.org mailing list