ddragosd closed pull request #110: Fixes #109 - Use correct path for sbin:
URL: https://github.com/apache/incubator-openwhisk-devtools/pull/110
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docker-compose/Makefile b/docker-compose/Makefile
index c6353a0..848d9d1 100644
--- a/docker-compose/Makefile
+++ b/docker-compose/Makefile
@@ -2,7 +2,7 @@ UNAME_STR ?= $(shell uname)
 
 # detect local ip of host as this is needed within containers to find the 
openwhisk API container
 ifeq ("$(UNAME_STR)","Linux")
-       LOCAL_IP=$(shell route | grep default | tr -s " " | cut -d " " -f 8 | 
xargs ifconfig | grep "inet addr:" | cut -d ":" -f 2 | cut -d " " -f 1)
+       LOCAL_IP=$(shell route | grep default | tr -s " " | cut -d " " -f 8 | 
xargs /sbin/ifconfig | grep "inet addr:" | cut -d ":" -f 2 | cut -d " " -f 1)
 else
        LOCAL_IP ?= $(shell ifconfig | grep "inet " | grep -v 127.0.0.1 | cut 
-d\  -f2 | head -1)
        # if no IP was found, fallback to "localhost"


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to