]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Do not warn when bash is not installed.
authorAlexander Traud <pabstraud@compuserve.com>
Sun, 28 Jan 2018 09:02:41 +0000 (10:02 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Tue, 13 Feb 2018 16:25:40 +0000 (10:25 -0600)
ASTERISK-27631

Change-Id: Iefdf268b0b98c3e7d8089ba87cf78136ac1d785b

Makefile

index f116e2dd9b83e948abe00b80cd3ea50719211572..0a3202aefa849c6312cddb262799e918cbc8f2be 100644 (file)
--- 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 \