From: Alexander Barton Date: Mon, 21 Nov 2011 10:59:26 +0000 (+0100) Subject: Makefile: hide error message when no arch-specific tests exist X-Git-Tag: rel-3~1 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=nagcollect.git;a=commitdiff_plain;h=8769ab3e901165e955256c5ac01c3681fccf3679 Makefile: hide error message when no arch-specific tests exist --- diff --git a/Makefile b/Makefile index 3175374..47bbf44 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ client: plugins: mkdir -p client/lib/nagios/plugins - (cd client/lib/tests; (ls -1 *.tst; ls -1 `uname`/*.tst) | \ + (cd client/lib/tests; (ls -1 *.tst; ls -1 `uname`/*.tst 2>/dev/null) | \ while read x; do \ name="check_nc_`basename "$$x" | cut -d'.' -f1 | tr '[A-Z]' '[a-z]'`"; \ dest="../nagios/plugins/$$name"; \