mirror of
https://github.com/chubin/wttr.in
synced 2025-01-26 02:34:59 +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
|
command shift
|
||||||
local args=""
|
local args=""
|
||||||
for p in $WTTR_PARAMS "$@"; do
|
for p in $WTTR_PARAMS "$@"; do
|
||||||
args+=" --data-urlencode '$p' "
|
args+=" --data-urlencode $p "
|
||||||
done
|
done
|
||||||
curl -fGsS -H "Accept-Language: ${LANG%_*}" $args --compressed "wttr.in/${location}"
|
curl -fGsS -H "Accept-Language: ${LANG%_*}" $args --compressed "wttr.in/${location}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue