Commit 0ae0a236 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget fix: quote command substitution for filename with spaces

parent 5add82c8
......@@ -1246,7 +1246,7 @@ url_sget()
return
fi
local FILENAME=$(url_get_filename "$URL")
local FILENAME="$(url_get_filename "$URL")"
if [ -n "$FILENAME" ] ; then
download_with_mirroring __curl "$URL" $CURLNAMEOPTIONS --output "$FILENAME"
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment