[vlc-commits] contrib: Allow wget to download URLs containing ;
Alexey Sokolov
git at videolan.org
Sat Aug 13 21:26:50 CEST 2011
vlc | branch: master | Alexey Sokolov <alexey at alexeysokolov.co.cc> | Sat Aug 6 13:32:02 2011 +0700| [574726a2fed6c8b5e77f28449826219478c67a74] | committer: Rémi Denis-Courmont
contrib: Allow wget to download URLs containing ;
For example, x264's git is one.
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=574726a2fed6c8b5e77f28449826219478c67a74
---
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 974cbf1..8c83173 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
More information about the vlc-commits
mailing list