Browse Source

fix accidental multiple printing of texts files

svn path=/trunk/; revision=31283
tags/stw2018
paul 4 years ago
parent
commit
4d82eb6286
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      build/translations.sh

+ 1
- 1
build/translations.sh View File

@@ -20,7 +20,7 @@ get_textsfile(){
lang="$1"

if [ -n "$cache_textsfile" ]; then
echo "$cache_textsfile" |sed -r 's;^.* '"$lang"':<([^>]+)> .*$;\1;p'
echo "$cache_textsfile" |sed -nr 's;^.* '"$lang"':<([^>]+)> .*$;\1;p'
elif [ -f "$basedir/tools/texts-${1}.xml" ]; then
echo "$basedir/tools/texts-${1}.xml"
else

Loading…
Cancel
Save