From 6fcdc330b3df55a7eb8d638327ec8ac6542cfc91 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 3 Mar 2015 12:58:41 -0300 Subject: [PATCH] Fixed regex to work on linux and os x --- test/ip_helper.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/ip_helper.sh b/test/ip_helper.sh index f2b5f60..073b4f8 100644 --- a/test/ip_helper.sh +++ b/test/ip_helper.sh @@ -7,5 +7,4 @@ # Each node in the `peers:` entry in nodes.yaml will have its own variable # -eval $(sed -e '/\S*:\s*[0-9]\+\./!d; s/^\s*//; s/:\s*/=/' ${ROOTDIR:-/vagrant}/nodes.yaml) - +eval $(sed -E '/[0-9]{1,3}\./!d; s/^ *//; s/: */=/' ${ROOTDIR:-/vagrant}/nodes.yaml) -- libgit2 0.21.2