`tidy.sh` sources the tidy scripts in alphabetic order, in particular `emptydirs.sh` is sourced before `purge.sh`. This makes `options=(!emptydirs)` not work for dirs that become empty after purging.
This affects many perl packages on Arch, which ship empty versioned `/usr/lib/perl/5.**` dirs (after pod files are purged) and need to be unnecessarily rebuilt for perl upgrades.
↧