summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2018-01-28 10:02:41 +0100
committerAlexander Traud <pabstraud@compuserve.com>2018-02-13 17:24:18 +0100
commitf9ba31bb213b40b6842e3403535c43ab16136baa (patch)
treebe0e8faaeb9626172ce49ed9adea59e484de6ad7 /Makefile
parent41a05aacc95a2cfc80b3c232be02efc4ae380103 (diff)
BuildSystem: Do not warn when bash is not installed.
ASTERISK-27631 Change-Id: Iefdf268b0b98c3e7d8089ba87cf78136ac1d785b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f116e2dd9..0a3202aef 100644
--- a/Makefile
+++ b/Makefile
@@ -604,7 +604,12 @@ $(SUBDIRS_INSTALL):
NEWMODS:=$(foreach d,$(MOD_SUBDIRS),$(notdir $(wildcard $(d)/*.so)))
OLDMODS=$(filter-out $(NEWMODS) $(notdir $(DESTDIR)$(ASTMODDIR)),$(notdir $(wildcard $(DESTDIR)$(ASTMODDIR)/*.so)))
-BADMODS=$(strip $(filter-out $(shell ./build_tools/list_valid_installed_externals),$(OLDMODS)))
+ifneq ($(BASH),:)
+ FILMODS=$(filter-out $(shell ./build_tools/list_valid_installed_externals),$(OLDMODS))
+else
+ FILMODS=$(OLDMODS)
+endif
+BADMODS=$(strip $(FILMODS))
oldmodcheck:
@if [ -n "$(BADMODS)" ]; then \