Commit 574726a2 authored by Alexey Sokolov's avatar Alexey Sokolov Committed by Rémi Denis-Courmont

contrib: Allow wget to download URLs containing ;

For example, x264's git is one.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 89deeb0a
...@@ -129,7 +129,7 @@ ifeq ($(shell curl --version >/dev/null 2>&1 || echo FAIL),) ...@@ -129,7 +129,7 @@ ifeq ($(shell curl --version >/dev/null 2>&1 || echo FAIL),)
download = curl -f -L -- "$(1)" > "$@" download = curl -f -L -- "$(1)" > "$@"
else ifeq ($(shell wget --version >/dev/null 2>&1 || echo FAIL),) else ifeq ($(shell wget --version >/dev/null 2>&1 || echo FAIL),)
download = rm -f $@.tmp && \ download = rm -f $@.tmp && \
wget --passive -c -p -O $@.tmp $(1) && \ wget --passive -c -p -O $@.tmp "$(1)" && \
touch $@.tmp && \ touch $@.tmp && \
mv $@.tmp $@ mv $@.tmp $@
else else
......
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