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:
@@ -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
|
||||
|
||||
@@ -268,7 +268,7 @@ if test x$WITH_NLS != x ; then
|
||||
LINGUAS=
|
||||
|
||||
for pkg in gtk2_ardour libs/ardour libs/gtkmm2ext lib/tk/ytk ; do
|
||||
files=`find ../../$pkg -name "*.mo"`
|
||||
files=`find ../../$pkg -name \! -path "*/appdata/*" "*.mo"`
|
||||
|
||||
#
|
||||
# the package name is appended with a number so that
|
||||
|
||||
Reference in New Issue
Block a user