makedist.midori: use temp dir when assembling locale list
This commit is contained in:
parent
6ff166f3ba
commit
e582924a99
1 changed files with 2 additions and 2 deletions
|
@ -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 .
|
||||
|
|
Loading…
Reference in a new issue