On 5/3/12 6:16 AM, Dave Reisner wrote:
I'm hard pressed to believe that this is the only place we choke on busybox's "coreutils". We have other, more complete and more sane userspaces which we need to support, and this patch does not honor that.
There may very well be other places that choke, but I didn't claim this patch fixed all issues. :) I only stated that it fixed something very specific: makepkg now works with find from busybox. I've not yet encountered other issues, but if and when I do, I'll be certain to identify and send along a patch, provided I'm still using pacman. Thanks for the style hints, I'll fix those up.
There's no way --ignore-fail-on-non-empty is anything but a ridiculous GNU option that busybox picked up.
I was unaware you were actually aiming to be portable beyond GNU given the reliance on bash. But you're right, the solutions offered should if anything be more portable, not less :). I'll find a better fix for the empty dirs and the inode discovery. Thanks, JH