mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Ignore comments when comparing new and old pot files.
This commit is contained in:
parent
1234d08c98
commit
039c214878
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user