From c3478127ad116e807e834f20bacbae52449f9052 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Tue, 21 May 2019 11:22:20 +0200 Subject: [PATCH] win32: build.sh: fix building when PATH contains spaces --- 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