From d42e65b09294b41c8e75b4d4de02aad5ec1ac02f Mon Sep 17 00:00:00 2001 From: Frans Pop Date: Sat, 3 Dec 2005 10:40:18 +0000 Subject: Allow for changes involving only deleted lines --- scripts/update_pot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3