mc: run FTB installer from correct location

We have pushd'ed into the directory so do not prefix the shell script
with the directory name.
This commit is contained in:
Duane Griffin 2018-09-19 11:27:34 +12:00
parent c8eb0f5874
commit ebe0a30c14

View File

@ -87,11 +87,11 @@ fi
if [ -e ${FTB_DIR}/FTBInstall.sh ]; then if [ -e ${FTB_DIR}/FTBInstall.sh ]; then
pushd ${FTB_DIR} pushd ${FTB_DIR}
sh ${FTB_DIR}/FTBInstall.sh sh FTBInstall.sh
popd popd
elif [ -e ${FTB_DIR}/Install.sh ]; then elif [ -e ${FTB_DIR}/Install.sh ]; then
pushd ${FTB_DIR} pushd ${FTB_DIR}
sh ${FTB_DIR}/Install.sh sh Install.sh
popd popd
fi fi