[vlc-commits] win32: build.sh: fix building when PATH contains spaces

Steve Lhomme git at videolan.org
Tue May 21 14:14:53 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue May 21 11:22:20 2019 +0200| [c3478127ad116e807e834f20bacbae52449f9052] | committer: Steve Lhomme

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

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

 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 584145abb1..15173124aa 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



More information about the vlc-commits mailing list