- use a valid invocation of find to count the rulesets - count the disabled rulesets, rather than listing them - do not explode if the checkout/ subdirectory was left lying around for some reason (usually a build script failure, but who knows...) - do not try to use rmmdir to remove a file - do not try to use mkdir -p on the XPI filename! - don't try to validate locales if building old targets that predate that validation script ;)
Apologies for the creeping spaghetti this commit is feeding...
It was hard to exclude things while using it, and seemed impossible to add the default.rulesets agglomerated XML file that we produce at build time but which is not in the repo. Also, the semantics of "make" vs "make uncommitted" was continuing to cause unsuspecting users misery on a regular basis.
… too long