Commit d3d594c4 authored by Robert Mourning's avatar Robert Mourning Committed by Geoffrey Métais

compile: quote assigned value when adding to PATH

Needed if PATH contains whitespace.
Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent 5fb9bf64
...@@ -325,16 +325,16 @@ fi ...@@ -325,16 +325,16 @@ fi
# stub libraries # stub libraries
CROSS_TOOLS=${NDK_TOOLCHAIN_PATH}/${TARGET_TUPLE}- CROSS_TOOLS=${NDK_TOOLCHAIN_PATH}/${TARGET_TUPLE}-
export PATH=${NDK_TOOLCHAIN_PATH}:${PATH} export PATH="${NDK_TOOLCHAIN_PATH}:${PATH}"
if [ ! -z "$MSYSTEM_PREFIX" ] ; then if [ ! -z "$MSYSTEM_PREFIX" ] ; then
# The make.exe and awk.exe from the toolchain don't work in msys # The make.exe and awk.exe from the toolchain don't work in msys
export PATH=$MSYSTEM_PREFIX/bin:/usr/bin:${NDK_TOOLCHAIN_PATH}:${PATH} export PATH="$MSYSTEM_PREFIX/bin:/usr/bin:${NDK_TOOLCHAIN_PATH}:${PATH}"
fi fi
ON_WINDOWS=0 ON_WINDOWS=0
if [ ! -z "$MSYSTEM_PREFIX" ] ; then if [ ! -z "$MSYSTEM_PREFIX" ] ; then
# The make.exe and awk.exe from the toolchain don't work in msys # The make.exe and awk.exe from the toolchain don't work in msys
export PATH=$MSYSTEM_PREFIX/bin:/usr/bin:${NDK_TOOLCHAIN_PATH}:${PATH} export PATH="$MSYSTEM_PREFIX/bin:/usr/bin:${NDK_TOOLCHAIN_PATH}:${PATH}"
ON_WINDOWS=1 ON_WINDOWS=1
fi fi
...@@ -453,7 +453,7 @@ cd vlc ...@@ -453,7 +453,7 @@ cd vlc
# Build buildsystem tools # # Build buildsystem tools #
########################### ###########################
export PATH=`pwd`/extras/tools/build/bin:$PATH export PATH="`pwd`/extras/tools/build/bin:$PATH"
echo "Building tools" echo "Building tools"
cd extras/tools cd extras/tools
./bootstrap ./bootstrap
......
...@@ -236,7 +236,7 @@ fi ...@@ -236,7 +236,7 @@ fi
# RUN # # RUN #
####### #######
if [ "$RUN" = 1 ]; then if [ "$RUN" = 1 ]; then
export PATH=${ANDROID_SDK}/platform-tools/:$PATH export PATH="${ANDROID_SDK}/platform-tools/:$PATH"
adb wait-for-device adb wait-for-device
if [ "$RELEASE" = 1 ]; then if [ "$RELEASE" = 1 ]; then
adb shell am start -n org.videolan.vlc/org.videolan.vlc.StartActivity adb shell am start -n org.videolan.vlc/org.videolan.vlc.StartActivity
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment