diff --git a/inxi b/inxi index 534cc5f..5246d0e 100755 --- a/inxi +++ b/inxi @@ -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=$? )