From 86c1d8dcc38489c9b04ec242a14f6ec64c81fb24 Mon Sep 17 00:00:00 2001 From: Giuseppe Lettieri Date: Mon, 7 Oct 2013 12:32:29 +0200 Subject: [PATCH] [gmap] fix for comma separated input Suggested by Felician Nemeth. --- planetlab/exp-tool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0