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

This commit is contained in:
Steve Lhomme 2019-05-21 11:22:20 +02:00
parent 7f1c493551
commit c3478127ad

View File

@ -99,12 +99,12 @@ if [ "$INTERACTIVE" != "yes" ] || [ ! -f ./Makefile ]; then
./bootstrap ./bootstrap
fi fi
make -j$JOBS make -j$JOBS
export PATH=$PWD/build/bin:$PATH export PATH="$PWD/build/bin":"$PATH"
cd ../../ cd ../../
export USE_FFMPEG=1 export USE_FFMPEG=1
export PKG_CONFIG_LIBDIR=$PWD/contrib/$TRIPLET/lib/pkgconfig 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 [ "$INTERACTIVE" = "yes" ]; then
if [ "x$SHELL" != "x" ]; then if [ "x$SHELL" != "x" ]; then