This is an automated email from the ASF dual-hosted git repository.
dragos pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-devtools.git
The following commit(s) were added to refs/heads/master by this push:
new 1a48d41 Fixes #109 - Use correct path for sbin: (#110)
1a48d41 is described below
commit 1a48d41923ac305a7de2355d8a44bcea71ab188f
Author: dan mcweeney <[email protected]>
AuthorDate: Thu Apr 5 16:45:13 2018 -0400
Fixes #109 - Use correct path for sbin: (#110)
http://www.linfo.org/sbin.html
---
docker-compose/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
--
To stop receiving notification emails like this one, please contact
[email protected].