Run rm in a more cross-platform way
Run rm in a more cross-platform way

GNU rm exits nonzero if you just say "rm" with no arguments. However,
BSD xargs doesn't accept the --no-run-if-empty option to suppress
running rm in this case. The solution is to use "rm -f", which (among
other things) should make GNU rm happy to run with no other arguments.

purcell/darcs-to-git