summaryrefslogtreecommitdiff
path: root/scripts/update_pot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update_pot')
-rwxr-xr-xscripts/update_pot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update_pot b/scripts/update_pot
index c3b1b1095..f1d0417e4 100755
--- a/scripts/update_pot
+++ b/scripts/update_pot
@@ -44,7 +44,7 @@ for XML in `find $SOURCEDIR -name "*.xml"` ; do
fi
# Revert changes if the only thing changed is the POT-Creation-Date
- if diff $PODIR/pot/$POT $PODIR/pot/$POT.new | grep "^>" | grep -qv "POT-Creation-Date: " ; then
+ if diff $PODIR/pot/$POT $PODIR/pot/$POT.new | grep "^[><]" | grep -qv "POT-Creation-Date: " ; then
mv $PODIR/pot/$POT.new $PODIR/pot/$POT
else
rm $PODIR/pot/$POT.new