Commit c1f8a89c authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: replace dirname|grep with is_httpurl in url_get_filename

parent 112459f3
......@@ -1930,7 +1930,7 @@ url_get_filename()
fi
# hack for redirect to the main page
if dirname "$loc" | grep -q "^http" ; then
if is_httpurl "$loc" ; then
loc=""
fi
......
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