wrong name in exitence test of mtoc

This commit is contained in:
jief 2020-02-17 15:14:21 +03:00
parent 1feda1c6ff
commit 15a4ba4694

View File

@ -215,11 +215,11 @@ checkXcode () {
echo "ERROR: Install Xcode Tools from Apple before using this script." >&2; exit 1
fi
if [[ -x "/opt/local/bin/mtoc.NEW" ]]; then
if [[ -x "/opt/local/bin/mtoc.NEW_jief" ]]; then
export MTOC_PREFIX="/opt/local/bin/"
elif [[ -x "${LOCALBIN}/mtoc.NEW" ]]; then
elif [[ -x "${LOCALBIN}/mtoc.NEW_jief" ]]; then
export MTOC_PREFIX="${LOCALBIN}/"
elif [[ -x "${TOOLCHAIN_DIR}/bin/mtoc.NEW" ]]; then
elif [[ -x "${TOOLCHAIN_DIR}/bin/mtoc.NEW_jief" ]]; then
export MTOC_PREFIX="${TOOLCHAIN_DIR}/bin/"
else
export MTOC_PREFIX="${TOOLCHAIN_DIR}/bin/"