Protect against installs with no locales user/dbs/tpac_locale_install_empty_dir
authorDan Scott <dscott@laurentian.ca>
Tue, 21 Aug 2012 21:23:26 +0000 (17:23 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 21 Aug 2012 21:26:34 +0000 (17:26 -0400)
commit2313e3228fe85cd17fa31c53fbeee788766858b7
tree7d4335025662b8c1cf37ed28ae0276963bb02c0a
parent4bbe2ae8bdeec90e000f35be8aad6b34518ad559
Protect against installs with no locales

Installs from source outside of tarballs may not have a built locale,
which would result in a make error and an aborted install. Protect
against that by checking for the existence of the locale install
directory before trying to copy the files into place.

In the weird case that Open-ILS/src/data/locale has been generated but
there are no files in it, protect against erroring out via the judicious
application of the - flag.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/Makefile.am