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:
2bd135b
)
[gmap] fix for comma separated input
author
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Mon, 7 Oct 2013 10:32:29 +0000
(12:32 +0200)
committer
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Mon, 7 Oct 2013 10:32:29 +0000
(12:32 +0200)
Suggested by Felician Nemeth.
planetlab/exp-tool/Makefile
patch
|
blob
|
history
diff --git
a/planetlab/exp-tool/Makefile
b/planetlab/exp-tool/Makefile
index
52aae82
..
ad56acc
100644
(file)
--- a/
planetlab/exp-tool/Makefile
+++ b/
planetlab/exp-tool/Makefile
@@
-486,7
+486,7
@@
cache/geocode.%: cache/loc.% $(CONF)
cache/loc.%: $(CONF)
@wget -O - 'http://freegeoip.net/csv/$(HOST_$*)' | \
- awk -F
, '{ printf "%s, %s
\n", $$8, $$9 }' > $@
+ awk -F
'", *"' '{ printf "\"%s\", \"%s\"
\n", $$8, $$9 }' > $@
####################
# 'virtual' targets in that there's no real file attached