From: Todd C. Miller Date: Wed, 17 Aug 2011 15:38:53 +0000 (-0400) Subject: Fix logic inversion in pot file up to date check. X-Git-Tag: SUDO_1_8_2~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27257d9cf57fa7a6eb60b3a8c323ce8a9cb519f9;p=sudo Fix logic inversion in pot file up to date check. --- diff --git a/Makefile.in b/Makefile.in index 6396758ad..bed065d92 100644 --- a/Makefile.in +++ b/Makefile.in @@ -182,9 +182,9 @@ update-pot: esac; \ $(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \ if diff -I'^.POT-Creation-Date' $$pot.tmp $$pot >/dev/null; then \ - mv -f $$pot.tmp $$pot; \ - else \ rm -f $$pot.tmp; \ + else \ + mv -f $$pot.tmp $$pot; \ fi; \ done; \ fi