From 91ca117671eafb4b482bb7d9bf276a2ed6d3fba9 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Thu, 20 Jun 2013 20:34:57 +0200 Subject: [PATCH] remove ./ and add some quotes --- patchimage.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patchimage.sh b/patchimage.sh index c4085c4..99a9d25 100755 --- a/patchimage.sh +++ b/patchimage.sh @@ -6,7 +6,7 @@ # # License: GPL v3 -source ./script.d/common.sh +source script.d/common.sh setup_tools optparse "${@}" @@ -18,11 +18,11 @@ fi case ${GAME} in A | NewerSMB | NewerSMBW ) - source ./script.d/newersmb.sh + source script.d/newersmb.sh ;; B | NewerSummerSun ) - source ./script.d/newersummersun.sh + source script.d/newersummersun.sh ;; * ) @@ -48,7 +48,7 @@ ${WIT} dolpatch ${DOL} xml="${XML_FILE}" --source "${XML_SOURCE}" dolpatch_extra if [[ ${CUSTOMID} ]]; then - ${WIT} cp -v -B ${WORKDIR} ./${CUSTOMID}.wbfs -vv --disc-id=${CUSTOMID} ${TMD_OPTS} --name "${GAMENAME}" + ${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}" + ${WIT} cp -v -B ${WORKDIR} ${GAMEID}.wbfs -vv --disc-id=${GAMEID} ${TMD_OPTS} --name "${GAMENAME}" fi