prevent message catalogs (*.mo) for appdata from being placed in the wrong location

These message catalogs are specifically installed elsewhere in these scripts, and they should
be excluded from a find(1)-based discovery process.

Note that the order of discovery will vary depending on (at least) filesystem tyoe,
and so without this fix, the .mo files from gtk2_ardour/appdata could end up
overwriting the .mo friles from gtk2_ardour itself. This happened for the 8.11
release
This commit is contained in:
Paul Davis 2025-02-05 17:16:11 -07:00
parent 12e3bc5c20
commit 683d2a8c2e
2 changed files with 2 additions and 2 deletions

View file

@ -301,7 +301,7 @@ if test x$WITH_NLS != x ; then
LINGUAS=
for pkg in gtk2_ardour libs/ardour libs/gtkmm2ext libs/tk/ytk ; do
files=`find ../../$pkg -name "*.mo"`
files=`find ../../$pkg -name "*.mo" \! -path "*/appdata/*"`
#
# the package name is appended with a number so that