Fix bootstrap script to correctly name SRC_DIR

This commit is contained in:
Rob Kiefer 2017-12-10 11:57:52 -05:00 committed by RobAtticus
parent 3e194cd48f
commit 9ef6dd1fa3

View File

@ -4,6 +4,9 @@ BUILD_TYPE=${1:-Release}
BUILD_DIR=${BUILD_DIR:-./build}
BUILD_FORCE_REMOVE=${BUILD_FORCE_REMOVE:-false}
SRC_DIR=$(dirname $0)
if [[ ! ${SRC_DIR} == /* ]]; then
SRC_DIR=$(pwd)/${SRC_DIR}
fi
if [ ${BUILD_FORCE_REMOVE} == "true" ]; then
rm -fr ${BUILD_DIR}