From: Giuseppe Lettieri Date: Mon, 7 Oct 2013 10:32:29 +0000 (+0200) Subject: [gmap] fix for comma separated input X-Git-Tag: sliver-openvswitch-2.0.90-1~12 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=86c1d8dcc38489c9b04ec242a14f6ec64c81fb24 [gmap] fix for comma separated input Suggested by Felician Nemeth. --- diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index 52aae8268..ad56acc0f 100644 --- 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