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
|
# copy locales for gtk
|
||||||
# so we have translated stock items, file dialogs
|
# 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/
|
mkdir -p $workdir/share/locale/
|
||||||
for LOCALE in $(cat locale.list); do
|
for LOCALE in $(cat locale.list); do
|
||||||
LOCALE=$(echo $LOCALE|awk -F/ '{print $3}')
|
LOCALE=$(echo $LOCALE|awk -F/ '{print $3}')
|
||||||
cp /usr/share/locale/$LOCALE/LC_MESSAGES/gtk20.mo $workdir/share/locale/$LOCALE/LC_MESSAGES/
|
cp /usr/share/locale/$LOCALE/LC_MESSAGES/gtk20.mo $workdir/share/locale/$LOCALE/LC_MESSAGES/
|
||||||
done
|
done
|
||||||
rm locale.list
|
rm $temp_dir/locale.list
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
echo -n .
|
echo -n .
|
||||||
|
|
Loading…
Reference in a new issue