Commit 6fcdc330b3df55a7eb8d638327ec8ac6542cfc91

Authored by Sergio Oliveira
1 parent ed699a60

Fixed regex to work on linux and os x

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
test/ip_helper.sh
@@ -7,5 +7,4 @@ @@ -7,5 +7,4 @@
7 # Each node in the `peers:` entry in nodes.yaml will have its own variable 7 # Each node in the `peers:` entry in nodes.yaml will have its own variable
8 # 8 #
9 9
10 -eval $(sed -e '/\S*:\s*[0-9]\+\./!d; s/^\s*//; s/:\s*/=/' ${ROOTDIR:-/vagrant}/nodes.yaml)  
11 - 10 +eval $(sed -E '/[0-9]{1,3}\./!d; s/^ *//; s/: */=/' ${ROOTDIR:-/vagrant}/nodes.yaml)