1) MAN_DIRS contains a glob by default so should not be quoted. It is
not quoted anywhere else so this should not cause extra breakage...
2) the find statement returns 1 when some of MAN_DIRS are missing. This
appears to only be exposed when running makepkg as root (which it appears
some wrappers do...).
Signed-off-by: Allan McRae <allan@archlinux.org>
---
This is for maint. Both "fixes" are crappy but addressing them properly
will require much larger changes that are not suitable for the 4.0.2
release.