vlc/vlc-3.0 | branch: master | Steve Lhomme <[email protected]> | Tue May 21 
11:22:20 2019 +0200| [4a49994857f132354e4551d82adf64e00817d35e] | committer: 
Steve Lhomme

win32: build.sh: fix building when PATH contains spaces

(cherry picked from commit c3478127ad116e807e834f20bacbae52449f9052)
Signed-off-by: Steve Lhomme <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4a49994857f132354e4551d82adf64e00817d35e
---

 extras/package/win32/build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index cdcef85ea2..9e2982d65f 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -99,12 +99,12 @@ if [ "$INTERACTIVE" != "yes" ] || [ ! -f ./Makefile ]; then
     ./bootstrap
 fi
 make -j$JOBS
-export PATH=$PWD/build/bin:$PATH
+export PATH="$PWD/build/bin":"$PATH"
 cd ../../
 
 export USE_FFMPEG=1
 export PKG_CONFIG_LIBDIR=$PWD/contrib/$TRIPLET/lib/pkgconfig
-export PATH=$PWD/contrib/$TRIPLET/bin:$PATH
+export PATH="$PWD/contrib/$TRIPLET/bin":"$PATH"
 
 if [ "$INTERACTIVE" = "yes" ]; then
 if [ "x$SHELL" != "x" ]; then

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

Reply via email to