From: Todd C. Miller Date: Thu, 15 Mar 2012 15:44:35 +0000 (-0400) Subject: Ignore comments when comparing new and old pot files. X-Git-Tag: SUDO_1_8_5~1^2~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=039c214878eebdfd6f9fe326c7c15542c7d3602a;p=sudo Ignore comments when comparing new and old pot files. --- diff --git a/Makefile.in b/Makefile.in index 19b8418c5..e6bd42094 100644 --- a/Makefile.in +++ b/Makefile.in @@ -179,7 +179,7 @@ update-pot: *) echo unknown domain $$domain; continue;; \ esac; \ $(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \ - if diff -I'^.POT-Creation-Date' $$pot.tmp $$pot >/dev/null; then \ + if diff -I'^.POT-Creation-Date' -I'^#' $$pot.tmp $$pot >/dev/null; then \ rm -f $$pot.tmp; \ else \ mv -f $$pot.tmp $$pot; \