mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
third_party/Makefile.rules: Replace unsupported != operator with $(shell ...)
Apparently the != operator is fairly new so I've replaced it with the old $(shell ...) syntax. Change-Id: I16b2e1878a4f91e7e9740abd427f9639f933c479 Reported-by: Richard Mudgett
This commit is contained in:
5
third-party/Makefile.rules
vendored
5
third-party/Makefile.rules
vendored
@@ -13,12 +13,11 @@ else
|
|||||||
REALLY_QUIET=
|
REALLY_QUIET=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DOWNLOAD :=
|
DOWNLOAD := $(shell which wget 2>/dev/null)
|
||||||
DOWNLOAD != which wget 2>/dev/null
|
|
||||||
DOWNLOAD := $(if $(DOWNLOAD),$(DOWNLOAD) -O- ,)
|
DOWNLOAD := $(if $(DOWNLOAD),$(DOWNLOAD) -O- ,)
|
||||||
|
|
||||||
ifeq ($(DOWNLOAD),)
|
ifeq ($(DOWNLOAD),)
|
||||||
DOWNLOAD != which curl 2>/dev/null
|
DOWNLOAD := $(shell which curl 2>/dev/null)
|
||||||
DOWNLOAD := $(if $(DOWNLOAD), $(DOWNLOAD) -L ,)
|
DOWNLOAD := $(if $(DOWNLOAD), $(DOWNLOAD) -L ,)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user