vlc | branch: master | Rafaël Carré <[email protected]> | Thu Oct  7 
13:27:08 2010 -0700| [93b130325528d417070324317fdb08fd4c119387] | committer: 
Rafaël Carré 

contribs: store path of external tools with ""

helps when paths have a space in them (/c/Program Files/...)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93b130325528d417070324317fdb08fd4c119387
---

 extras/contrib/bootstrap |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index ac39d96..d629236 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -319,22 +319,22 @@ echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> 
toolchain.cmake
 fi
 
 if wget --version >/dev/null 2>&1; then
-    echo "WGET = `which wget` -c --passive" >> config.mak
+    echo "WGET = \"`which wget`\" -c --passive" >> config.mak
 elif test -z `curl --version >/dev/null 2>&1`; then
-    echo "WGET = `which curl` -L -O" >> config.mak
+    echo "WGET = \"`which curl`\" -L -O" >> config.mak
 else
     echo "You need at least wget or curl to fetch the packages." >&2
     exit 1
 fi
 
 if svn --version >/dev/null 2>&1; then
-    echo "SVN = `which svn`" >> config.mak
+    echo "SVN = \"`which svn`\"" >> config.mak
 else
     echo "You do not have a subversion client in your PATH." >&2
 fi
 
 if git --version>/dev/null 2>&1; then
-    echo "GIT = `which git`" >> config.mak
+    echo "GIT = \"`which git`\"" >> config.mak
 else
     echo "You do not have a Git client in your PATH." >&2
 fi

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to