]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Silence unwanted LS warnings
authorAmos Jeffries <amosjeffries@squid-cache.org>
Tue, 7 Jul 2009 14:05:30 +0000 (08:05 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Tue, 7 Jul 2009 14:05:30 +0000 (08:05 -0600)
errors/Makefile.am

index 843f8ae2f113053f29d48d19792af23413d46f58..129cfdc663d161755cb6ec7fe604e8bda8cda3be 100644 (file)
@@ -11,8 +11,8 @@ DEFAULT_ERROR_DIR     = $(errordir)
 DEFAULT_STYLESHEET     = $(sysconfdir)/errorpage.css
 
 # List of automated translations possible:
-TRANSLATIONPO=`ls -1 $(top_srcdir)/errors/*.po | grep -o -E "[a-z\-]+\.po" | sed s/.po//`
-TRANSLATIONDIR=`ls -1 $(srcdir)/ $(builddir)/ | sed -e 's%$(srcdir)/%%' -e 's%$(builddir)/%%' -e 's%.po%%' `
+TRANSLATIONPO=`ls -1 $(top_srcdir)/errors/*.po 2>/dev/null | grep -o -E "[a-z\-]+\.po" | sed s/.po//`
+TRANSLATIONDIR=`ls -1 $(srcdir)/ $(builddir)/ 2>/dev/null | sed -e 's%$(srcdir)/%%' -e 's%$(builddir)/%%' -e 's%.po%%' `
 
 install-data-local: translate
        for l in $(TRANSLATIONDIR) ; do \