From 749cc534b5ba4217b1eb1d86669ba5304b700df3 Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Tue, 13 Jun 2017 13:25:48 +0100 Subject: [PATCH] fix ip address determination --- build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Makefile b/build/Makefile index 3738bb3..372fdee 100644 --- a/build/Makefile +++ b/build/Makefile @@ -1,6 +1,6 @@ FROM = debian:jessie MODE = minimal -PROXY = $(shell ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | cut -d' ' -f1) +PROXY = $(shell ifconfig eth0 | grep 'inet' | cut -d: -f2 | awk '{ print $2}') TIMEZONE = Europe/London JOBS = 2 CLEANUP = true