summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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