2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Fix logic inversion in pot file up to date check.

This commit is contained in:
Todd C. Miller 2011-08-17 11:38:53 -04:00
parent 366cb19273
commit 27257d9cf5

View File

@ -182,9 +182,9 @@ update-pot:
esac; \ esac; \
$(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \ $(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' $$pot.tmp $$pot >/dev/null; then \
mv -f $$pot.tmp $$pot; \
else \
rm -f $$pot.tmp; \ rm -f $$pot.tmp; \
else \
mv -f $$pot.tmp $$pot; \
fi; \ fi; \
done; \ done; \
fi fi