git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d14d9
)
take only the first address returned by host
author
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Sun, 18 Aug 2013 09:00:58 +0000
(11:00 +0200)
committer
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Sun, 18 Aug 2013 09:00:58 +0000
(11:00 +0200)
planetlab/exp-tool/Makefile
patch
|
blob
|
history
diff --git
a/planetlab/exp-tool/Makefile
b/planetlab/exp-tool/Makefile
index
ef48321
..
9b36471
100644
(file)
--- a/
planetlab/exp-tool/Makefile
+++ b/
planetlab/exp-tool/Makefile
@@
-173,7
+173,7
@@
cache/status.%: FORCE
cache/host.%:
@echo "IP lookup for $(call display,$*)"
- @host $(HOST_$*) | sed -n '
s/^.*has address *//p
' > $@
+ @host $(HOST_$*) | sed -n '
/^.*has address */{s///p;q}
' > $@
cache/db.%:
@echo "Starting db server on $(call display,$*) - logs in $(call log,$@)"