Code cleanup.

This commit is contained in:
Andrius Štikonas 2009-03-14 16:50:25 +02:00
parent f67f53b8f6
commit 74158adfb5
1 changed files with 1 additions and 2 deletions

3
pack
View File

@ -42,8 +42,7 @@ for BRANCH in $TRUNK $BRANCHES; do
bfile=`basename $file` bfile=`basename $file`
echo -n "Processing catalog $bfile... "; echo -n "Processing catalog $bfile... ";
d=`echo "$bfile" | sed "s/.$LCODE.po//"` d=`echo "$bfile" | sed "s/.$LCODE.po//"`
$MSGMERGE --silent $file $file > $file.temp $MSGMERGE --silent $file -U $file
mv $file.temp $file
if [ -f "$BRANCH/$d/$LCODE.po" ]; then if [ -f "$BRANCH/$d/$LCODE.po" ]; then
if ! $DIFF -q "$file" "$BRANCH/$d/$LCODE.po" > /dev/null ; then if ! $DIFF -q "$file" "$BRANCH/$d/$LCODE.po" > /dev/null ; then
mkdir "$LCODE-temp/$d" mkdir "$LCODE-temp/$d"