From: Amos Jeffries Date: Fri, 10 Apr 2009 06:36:31 +0000 (+1200) Subject: Regression fix: test for .po properly. X-Git-Tag: SQUID_3_1_0_8~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fc8fa00eb371aef93488188e0633e3e54e7364e;p=thirdparty%2Fsquid.git Regression fix: test for .po properly. Only skip translation attempt if the .po are NOT available. --- diff --git a/errors/Makefile.am b/errors/Makefile.am index ea57fcaeb6..5181b2a6e3 100644 --- a/errors/Makefile.am +++ b/errors/Makefile.am @@ -147,7 +147,7 @@ dist-hook: translate cp -p $(srcdir)/errorpage.css $(distdir)/errorpage.css translate: - @if test -f $(top_srcdir)/errors/en.po; then \ + @if ! test -f $(top_srcdir)/errors/en.po; then \ echo "Translation is not currently possible."; \ exit 0; \ fi; \