use CURDIR for Tokyo Mirage Sessions FE so that it does not get deleted in batch mode

This commit is contained in:
Christopher Roy Bratusek 2016-08-29 22:06:56 +02:00
parent 3a10c2ea2c
commit 9cad927973

View File

@ -114,7 +114,8 @@ menu () {
patch () {
BUILD_DIR="${PWD}"/TMSxFE-Restoration-Build
cd "${CURDIR}"
BUILD_DIR="${CURDIR}"/TMSxFE-Restoration-Build
if [[ -d ${BUILD_DIR} ]]; then
echo -e "\nremoving old files"