]> granicus.if.org Git - sudo/commitdiff
Ignore comments when comparing new and old pot files.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Mar 2012 15:44:35 +0000 (11:44 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Mar 2012 15:44:35 +0000 (11:44 -0400)
Makefile.in

index 19b8418c5963bc8b6ebb3708433267777fe5ccc2..e6bd42094630ed8e7d51c033ecea77232767ebfb 100644 (file)
@@ -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; \