[Asterisk-code-review] pjproject/Makefile.rules: Replace unsupported != operator w... (asterisk[13])

George Joseph asteriskteam at digium.com
Thu Mar 3 17:37:11 CST 2016


George Joseph has uploaded a new change for review.

  https://gerrit.asterisk.org/2351

Change subject: pjproject/Makefile.rules:  Replace unsupported != operator with $(shell ...)
......................................................................

pjproject/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/51/2351/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/2351
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I16b2e1878a4f91e7e9740abd427f9639f933c479
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <george.joseph at fairview5.com>



More information about the asterisk-code-review mailing list