From e885d7def629b9a0f94e8236099026b6ba9d2b96 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 7 Jul 2013 08:38:25 +0200 Subject: [PATCH] tell the user where we saved file was created --- patchimage.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/patchimage.sh b/patchimage.sh index a6b3e5a..6ebd088 100755 --- a/patchimage.sh +++ b/patchimage.sh @@ -81,10 +81,11 @@ case ${GAME_TYPE} in dolpatch if [[ ${CUSTOMID} ]]; then - ${WIT} cp -v -B ${WORKDIR} ${CUSTOMID}.wbfs -vv --disc-id=${CUSTOMID} ${TMD_OPTS} --name "${GAMENAME}" - else - ${WIT} cp -v -B ${WORKDIR} ${GAMEID}.wbfs -vv --disc-id=${GAMEID} ${TMD_OPTS} --name "${GAMENAME}" + GAMEID = ${CUSTOMID} fi + ${WIT} cp -v -B ${WORKDIR} ${GAMEID}.wbfs -vv --disc-id=${GAMEID} ${TMD_OPTS} --name "${GAMENAME}" || exit 1 + + echo -e "\n >>> ${GAMENAME} saved as:\n >>> ${GAMEID}.wbfs" ;; "IPS" )