From 039c214878eebdfd6f9fe326c7c15542c7d3602a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 15 Mar 2012 11:44:35 -0400 Subject: [PATCH] Ignore comments when comparing new and old pot files. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \