mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-28 03:54:22 +01:00
remove ./ and add some quotes
This commit is contained in:
parent
6afd47b60d
commit
91ca117671
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
# License: GPL v3
|
# License: GPL v3
|
||||||
|
|
||||||
source ./script.d/common.sh
|
source script.d/common.sh
|
||||||
setup_tools
|
setup_tools
|
||||||
|
|
||||||
optparse "${@}"
|
optparse "${@}"
|
||||||
@ -18,11 +18,11 @@ fi
|
|||||||
case ${GAME} in
|
case ${GAME} in
|
||||||
|
|
||||||
A | NewerSMB | NewerSMBW )
|
A | NewerSMB | NewerSMBW )
|
||||||
source ./script.d/newersmb.sh
|
source script.d/newersmb.sh
|
||||||
;;
|
;;
|
||||||
|
|
||||||
B | NewerSummerSun )
|
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
|
dolpatch_extra
|
||||||
|
|
||||||
if [[ ${CUSTOMID} ]]; then
|
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
|
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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user