This commit is contained in:
inxi-svn 2013-05-18 05:32:42 +00:00
parent a8c397a3cb
commit 5be282cea6

2
inxi
View file

@ -7981,7 +7981,7 @@ get_weather_data()
# actual weather data, assuming no errors
if [[ -n $ALTERNATE_WEATHER_LOCATION ]];then
# note, this api does not support spaces in names
location=$( sed 's/[[:space:]]*//g' $ALTERNATE_WEATHER_LOCATION )
location=$( sed 's/[[:space:]]*//g' <<< $ALTERNATE_WEATHER_LOCATION )
else
if [[ $b_test_loc != 'true' ]];then
location_data=$( wget -q -t 1 -T $WGET_TIMEOUT -O- $location_site || wget_error=$? )