Commit 1cdf8f1c authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: drop wget comments to location

parent 1ede164a
......@@ -945,7 +945,7 @@ url_get_real_url()
[ -n "$MADEURL" ] && [ "$MADEURL" = "$URL" ] && echo "$URL" && return
local loc
for loc in $(url_get_header "$URL" "Location" | tac) ; do
for loc in $(url_get_header "$URL" "Location" | tac | sed -e 's| ||') ; do
if ! is_strange_url "$loc" ; then
echo "$loc"
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