mirror of
https://github.com/chubin/wttr.in
synced 2025-01-12 03:58:45 +00:00
Fix quoting
This commit is contained in:
parent
42635d9c6f
commit
d80c470061
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ wttr() {
|
|||
command shift
|
||||
local args=""
|
||||
for p in $WTTR_PARAMS "$@"; do
|
||||
args+=" --data-urlencode '$p' "
|
||||
args+=" --data-urlencode $p "
|
||||
done
|
||||
curl -fGsS -H "Accept-Language: ${LANG%_*}" $args --compressed "wttr.in/${location}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue