commit 595b8610ec66984e99a8562481fa28aa9951205b parent 98ffc43417505353be8a0d56c88db623915a7e46 Author: Frederic Cambus <fcambus@users.sourceforge.net> Date: Tue, 22 Oct 2013 03:53:37 -0700 Merge pull request #5 from michaelhood/master Add support for spaces and special characters in location (Fixes #4, Closes #7, closes #13, closes #18, closes #19) Diffstat:
M | ansiweather | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ansiweather b/ansiweather @@ -67,7 +67,7 @@ rain=$(get_config "rain" || echo "\xe2\x98\x94") fetch_cmd=$(get_config "fetch_cmd" || echo "curl -s") -weather=$($fetch_cmd http://api.openweathermap.org/data/2.5/weather?q=$location\&units=$units) +weather=$($fetch_cmd "http://api.openweathermap.org/data/2.5/weather?q=$location\&units=$units")