From 7de878e54d662d8b8d9bc2496ec1a450d6ae1941 Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Sun, 15 Jan 2017 17:15:08 +0000 Subject: [PATCH] Hide error output if version.h of Asterisk is not found. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cd26a23..88bfd44 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ endif endif endif -AVERSION=$(shell if grep -q "VERSION_NUM 0104" $(ASTERISK_HEADER_DIR)/asterisk/version.h; then echo V1_4; fi) +AVERSION=$(shell if grep -q "VERSION_NUM 0104" $(ASTERISK_HEADER_DIR)/asterisk/version.h; then echo V1_4; fi 2>/dev/null) ifeq (${USE_OWN_LIBCAPI},yes) INCLUDE= -I./libcapi20