summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-06-18 19:57:34 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-06-18 19:57:34 +0000
commitc8103c0c50b7072ad1b28d3e369667986d7779a8 (patch)
tree0a6527a8d3485df8b4957cd8a65887c8e205f7d0 /tools
parent57a09bfa17581e9d4892cc9e787b2c744da98627 (diff)
when copying GTK .mo files into the bundle, get them from the GTK stack, not /usr{/local}
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12763 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/build10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index aff4981d3c..d891fbcb16 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -285,18 +285,18 @@ if test x$WITH_NLS != x ; then
done
GTK_MESSAGES="atk10.mo gdk-pixbuf.mo gtk20-properties.mo gtk20.mo atk10.mo glib20.mo"
- LOCALEROOT=/usr/share/locale
+ GTKLOCALEROOT=GTKSTACK_ROOT/share/locale
for l in $LINGUAS ; do
echo "Copying GTK i18n files for $l..."
for MO in $GTK_MESSAGES ; do
- if [ -f $LOCALEROOT/$l/LC_MESSAGES/$MO ] ; then
- cp $LOCALEROOT/$l/LC_MESSAGES/$MO $Locale/$l/LC_MESSAGES
+ if [ -f $GTKLOCALEROOT/$l/LC_MESSAGES/$MO ] ; then
+ cp $GTKLOCALEROOT/$l/LC_MESSAGES/$MO $Locale/$l/LC_MESSAGES
else
# try with just the language spec
just_lang=`echo $l | sed 's/_[A-Z][A-Z]$//'`
- if [ -f $LOCALEROOT/$just_lang/LC_MESSAGES/$MO ] ; then
- cp $LOCALEROOT/$just_lang/LC_MESSAGES/$MO $Locale/$just_lang/LC_MESSAGES
+ if [ -f $GTKLOCALEROOT/$just_lang/LC_MESSAGES/$MO ] ; then
+ cp $GTKLOCALEROOT/$just_lang/LC_MESSAGES/$MO $Locale/$just_lang/LC_MESSAGES
fi
fi
done