[vlc-devel] [PATCH 2/2] contrib: Allow wget to download URLs containing ;

Alexey Sokolov alexey at alexeysokolov.co.cc
Sat Aug 6 08:32:02 CEST 2011


For example, x264's git is one.
---
 contrib/src/main.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index aa0827d..70822c5 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -129,7 +129,7 @@ ifeq ($(shell curl --version >/dev/null 2>&1 || echo FAIL),)
 download = curl -f -L -- "$(1)" > "$@"
 else ifeq ($(shell wget --version >/dev/null 2>&1 || echo FAIL),)
 download = rm -f $@.tmp && \
-	wget --passive -c -p -O $@.tmp $(1) && \
+	wget --passive -c -p -O $@.tmp "$(1)" && \
 	touch $@.tmp && \
 	mv $@.tmp $@
 else
-- 
1.7.4.1




More information about the vlc-devel mailing list