Fix for work paths with spaces in them. *sigh*

This commit is contained in:
T. Joseph Carter 2015-02-17 16:04:25 -08:00
parent 4955cee0cc
commit 80191787a9
4 changed files with 8 additions and 8 deletions

View File

@ -143,7 +143,7 @@ build_libretro_generic_makefile() {
build_dir="${WORKDIR}/libretro-${1}"
if [ -d "$build_dir" ]; then
echo "=== Building ${1} ==="
build_libretro_generic $1 $2 $3 $4 $build_dir
build_libretro_generic $1 $2 $3 $4 "$build_dir"
copy_core_to_dist $1
else
echo "${1} not fetched, skipping ..."
@ -154,7 +154,7 @@ build_retroarch_generic_makefile() {
build_dir="${WORKDIR}/${1}"
if [ -d "$build_dir" ]; then
echo "=== Building ${2} ==="
build_libretro_generic $1 $2 $3 $4 $build_dir
build_libretro_generic $1 $2 $3 $4 "$build_dir"
copy_core_to_dist $5
else
echo "${1} not fetched, skipping ..."

View File

@ -106,7 +106,7 @@ echo "CXX11 = $CXX11"
echo "STRIP = $STRIP"
. $BASE_DIR/libretro-build-common.sh
. "$BASE_DIR/libretro-build-common.sh"
mkdir -p "$RARCH_DIST_DIR"
@ -185,6 +185,6 @@ else
if [ $FORMAT_COMPILER_TARGET != "ios" ]; then
build_libretro_testgl
fi
build_summary
fi
build_summary

View File

@ -104,7 +104,7 @@ echo "CXX11 = $CXX11"
echo "STRIP = $STRIP"
. $BASE_DIR/libretro-build-common.sh
. "$BASE_DIR/libretro-build-common.sh"
mkdir -p "$RARCH_DIST_DIR"
@ -183,6 +183,6 @@ else
if [ $FORMAT_COMPILER_TARGET != "ios" ]; then
build_libretro_testgl
fi
build_summary
fi
build_summary

View File

@ -206,7 +206,7 @@ BUILD_SUMMARY="$WORKDIR/build-summary.log"
#local libretro-config-user.sh file rather than here.
#The following below is just a sample.
if [ -f "${WORKDIR}/libretro-config-user.sh" ]; then
. ${WORKDIR}/libretro-config-user.sh
if [ -f "$WORKDIR/libretro-config-user.sh" ]; then
. "$WORKDIR/libretro-config-user.sh"
fi