|
|
@ -419,8 +419,12 @@ fi
|
|
|
|
# get the current working drive's root, we'll install to that temporarily
|
|
|
|
# get the current working drive's root, we'll install to that temporarily
|
|
|
|
CWD_DRIVE_ROOT="$(powershell -command '(get-location).Drive.Root')Boost_temp"
|
|
|
|
CWD_DRIVE_ROOT="$(powershell -command '(get-location).Drive.Root')Boost_temp"
|
|
|
|
CWD_DRIVE_ROOT_BASH=$(echo "$CWD_DRIVE_ROOT" | sed "s,\\\\,/,g" | sed "s,\(.\):,/\\1,")
|
|
|
|
CWD_DRIVE_ROOT_BASH=$(echo "$CWD_DRIVE_ROOT" | sed "s,\\\\,/,g" | sed "s,\(.\):,/\\1,")
|
|
|
|
|
|
|
|
if [ -d CWD_DRIVE_ROOT_BASH ] then
|
|
|
|
|
|
|
|
printf "Cannot continue, ${CWD_DRIVE_ROOT_BASH} aka ${CWD_DRIVE_ROOT} already exists. Please remove before re-running. "
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d Boost ] && grep "BOOST_VERSION 106700" Boost/boost/version.hpp > /dev/null; then
|
|
|
|
if [ -d ${BOOST_SDK} ] && grep "BOOST_VERSION 106700" Boost/boost/version.hpp > /dev/null; then
|
|
|
|
printf "Exists. "
|
|
|
|
printf "Exists. "
|
|
|
|
elif [ -z $SKIP_EXTRACT ]; then
|
|
|
|
elif [ -z $SKIP_EXTRACT ]; then
|
|
|
|
rm -rf Boost
|
|
|
|
rm -rf Boost
|
|
|
|