[Xfce4-commits] <midori:master> makedist.midori: use temp dir when assembling locale list
Christian Dywan
noreply at xfce.org
Fri Feb 10 23:44:08 CET 2012
Updating branch refs/heads/master
to e582924a994c5eed69a022621c14ec49b801464b (commit)
from 6ff166f3ba06c3f7a419b3ed6811c0cffdd90f7d (commit)
commit e582924a994c5eed69a022621c14ec49b801464b
Author: Paweł Forysiuk <tuxator at o2.pl>
Date: Thu Feb 9 00:52:38 2012 +0100
makedist.midori: use temp dir when assembling locale list
win32/makedist/makedist.midori | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori
index 5e3997b..02f3708 100755
--- a/win32/makedist/makedist.midori
+++ b/win32/makedist/makedist.midori
@@ -135,13 +135,13 @@ grab_files share mime
# copy locales for gtk
# so we have translated stock items, file dialogs
-find share "(" -name "midori.mo" ")" > locale.list
+find share "(" -name "midori.mo" ")" > $temp_dir/locale.list
mkdir -p $workdir/share/locale/
for LOCALE in $(cat 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
-rm locale.list
+rm $temp_dir/locale.list
popd > /dev/null
echo -n .
More information about the Xfce4-commits
mailing list