Browse Source

Use better sed script.

master
Andrius Štikonas 11 years ago
parent
commit
b3588e3314
  1. 2
      init-po-files

2
init-po-files

@ -40,7 +40,7 @@ for dir in `ls`; do
svn add "$podir"
fi
for file in `find . -name '*.pot'`; do
po=`echo $file | sed s/.pot/.po/`
po=`echo $file | sed 's/.\{1\}$//'`
if [ ! -e "$podir/$po" ]; then
echo -e $RED"$dir/$po"$ENDCOLOR
msginit -i "$file" -o "$podir/$po" --no-translator

Loading…
Cancel
Save