fixup post-build cleanup

This commit is contained in:
Christopher Roy Bratusek 2014-05-17 21:53:37 +02:00
parent 06982f2302
commit e55aedbcfe

View File

@ -82,6 +82,8 @@ build_mkwiimm () {
${UNP} ${PATCHIMAGE_RIIVOLUTION_DIR}/${FILENAME} >/dev/null ${UNP} ${PATCHIMAGE_RIIVOLUTION_DIR}/${FILENAME} >/dev/null
fi fi
XD=${PWD}
cd ${FILENAME/.7z} cd ${FILENAME/.7z}
ln -s ${IMAGE} . ln -s ${IMAGE} .
@ -114,7 +116,7 @@ PRIV_SAVEGAME=${MKWIIMM_OWN_SAVE}" > ${PWD}/config.def
wiimmfi ${PWD}/RMC${REG}${ID}.wbfs wiimmfi ${PWD}/RMC${REG}${ID}.wbfs
echo "*** 10) cleaning up workdir" echo "*** 10) cleaning up workdir"
cd .. cd ${XD}
rm -rf ${FILENAME/.7z} rm -rf ${FILENAME/.7z}
if [[ ${PATCHIMAGE_COVER_DOWNLOAD} == TRUE ]]; then if [[ ${PATCHIMAGE_COVER_DOWNLOAD} == TRUE ]]; then