Skip to content

Commit

Permalink
Fix i18n not supporting destdir
Browse files Browse the repository at this point in the history
  • Loading branch information
pontaoski committed Oct 1, 2019
1 parent 15f177c commit 90d79dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/i18n.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash
mkdir -p ${MESON_BUILD_ROOT}${1}
mkdir -p ${DESTDIR}${1}
for a in $(find ${MESON_SOURCE_ROOT}/data/i18n -type f)
do
if grep -i "\.po" <<< "$a"; then
filename=$(basename $a)
y=${filename%.*}
lconvert-qt5 $a -o "${MESON_BUILD_ROOT}${1}/${y}.qm"
lconvert-qt5 $a -o "${DESTDIR}${1}/${y}.qm"
fi
done

0 comments on commit 90d79dd

Please sign in to comment.