[Xfce4-commits] <midori:master> makedist.midori: Fix packaging of translations

Christian Dywan noreply at xfce.org
Tue Feb 28 23:56:01 CET 2012


Updating branch refs/heads/master
         to 4fa5bcf7210770f8e6465b886acb66c6c7c363c1 (commit)
       from 24884ccafbf34c9dc4fb5425b32f0c299f183291 (commit)

commit 4fa5bcf7210770f8e6465b886acb66c6c7c363c1
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Mon Feb 27 00:34:26 2012 +0100

    makedist.midori: Fix packaging of translations

 win32/makedist/makedist.midori |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori
index 74d1442..8e0f377 100755
--- a/win32/makedist/makedist.midori
+++ b/win32/makedist/makedist.midori
@@ -156,15 +156,17 @@ grab_files share midori
 grab_files share icons
 grab_files share MS-Windows
 grab_files share mime
+grab_files share midori.mo
 
 grab_files share webkitgtk-1.0
 
 # copy locales for gtk
 # so we have translated stock items, file dialogs
 
+pushd $root_dir > /dev/null
 find share "(" -name "midori.mo" ")" >  $temp_dir/locale.list
 mkdir -p $workdir/share/locale/
-for LOCALE in $(cat locale.list); do
+for LOCALE in $(cat $temp_dir/locale.list); do
 	 LOCALE=$(echo $LOCALE|awk -F/ '{print $3}')
 	 cp /usr/share/locale/$LOCALE/LC_MESSAGES/gtk20.mo $workdir/share/locale/$LOCALE/LC_MESSAGES/
 done


More information about the Xfce4-commits mailing list