From 5362dbc297c56c03f2be2334cf3a266a0e024122 Mon Sep 17 00:00:00 2001 From: walker0643 <> Date: Sat, 3 Mar 2018 12:57:49 -0500 Subject: [PATCH] replace source with . in sh scripts for compatibility --- clean_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clean_build.sh b/clean_build.sh index 730b21d0..3085c08f 100755 --- a/clean_build.sh +++ b/clean_build.sh @@ -13,11 +13,11 @@ B_BUILD_TYPE=${B_BUILD_TYPE:-Debug} if [ "$(uname)" = "Darwin" ]; then # OSX needs a lot of extra help, poor thing # run the osx_environment.sh script to fix paths - source ./osx_environment.sh + . ./osx_environment.sh B_CMAKE_FLAGS="-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 $B_CMAKE_FLAGS" fi # allow local customizations to build environment -[ -r ./build_env.sh ] && source ./build_env.sh +[ -r ./build_env.sh ] && . ./build_env.sh B_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=$B_BUILD_TYPE $B_CMAKE_FLAGS" rm -rf build mkdir build || exit 1