diff --git a/init-po-files b/init-po-files index 4f5c4c8..8eef9ff 100755 --- a/init-po-files +++ b/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