From e582924a994c5eed69a022621c14ec49b801464b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Thu, 9 Feb 2012 00:52:38 +0100 Subject: [PATCH] makedist.midori: use temp dir when assembling locale list --- win32/makedist/makedist.midori | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori index 5e3997b0..02f37085 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 . -- 2.39.5