Use better sed script.
This commit is contained in:
parent
6a2583dc39
commit
b3588e3314
|
@ -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…
Reference in New Issue