[Asterisk-code-review] third party/Makefile.rules: Replace unsupported != operator... (asterisk[master])
George Joseph
asteriskteam at digium.com
Thu Mar 3 17:40:46 CST 2016
George Joseph has uploaded a new change for review.
https://gerrit.asterisk.org/2352
Change subject: third_party/Makefile.rules: Replace unsupported != operator with $(shell ...)
......................................................................
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
---
M third-party/Makefile.rules
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/52/2352/1
diff --git a/third-party/Makefile.rules b/third-party/Makefile.rules
index ac4189a..cffe359 100644
--- a/third-party/Makefile.rules
+++ b/third-party/Makefile.rules
@@ -14,12 +14,12 @@
endif
DOWNLOAD :=
-DOWNLOAD != which wget 2>/dev/null
-DOWNLOAD:=$(if $(DOWNLOAD),$(DOWNLOAD) -O- ,)
+DOWNLOAD := $(shell which wget 2>/dev/null)
+DOWNLOAD := $(if $(DOWNLOAD),$(DOWNLOAD) -O- ,)
ifeq ($(DOWNLOAD),)
-DOWNLOAD != which curl 2>/dev/null
-DOWNLOAD:=$(if $(DOWNLOAD), $(DOWNLOAD) -L ,)
+DOWNLOAD := $(shell which curl 2>/dev/null)
+DOWNLOAD := $(if $(DOWNLOAD), $(DOWNLOAD) -L ,)
endif
ifeq ($(DOWNLOAD),)
--
To view, visit https://gerrit.asterisk.org/2352
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I16b2e1878a4f91e7e9740abd427f9639f933c479
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: George Joseph <george.joseph at fairview5.com>
More information about the asterisk-code-review
mailing list