[vlc-commits] win32: build.sh: fix building when PATH contains spaces
Steve Lhomme
git at videolan.org
Thu Jun 18 14:54:11 CEST 2020
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | 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 <robux4 at ycbcr.xyz>
> 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
More information about the vlc-commits
mailing list