]> spindle.queued.net Git - midori/commitdiff
makedist.midori: use temp dir when assembling locale list
authorPaweł Forysiuk <tuxator@o2.pl>
Wed, 8 Feb 2012 23:52:38 +0000 (00:52 +0100)
committerChristian Dywan <christian@twotoasts.de>
Fri, 10 Feb 2012 22:42:21 +0000 (23:42 +0100)
win32/makedist/makedist.midori

index 5e3997b027408004fc869a58f3e79ef8538f07d5..02f37085e8db7489a59be4c067d8115177380730 100755 (executable)
@@ -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 .