From 8e55981f4482b169cdcf939ea65a2b78d17355ac Mon Sep 17 00:00:00 2001 From: alberic89 Date: Thu, 17 Aug 2023 18:54:49 +0200 Subject: [PATCH] Do this cleaner --- scripts/nsmbw/newerfallingleaf.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/nsmbw/newerfallingleaf.sh b/scripts/nsmbw/newerfallingleaf.sh index 0b532ba..30e022a 100644 --- a/scripts/nsmbw/newerfallingleaf.sh +++ b/scripts/nsmbw/newerfallingleaf.sh @@ -39,7 +39,7 @@ detect_game_version () { place_files () { - NEW_DIRS=( "${WORKDIR}"/files/LevelSamples "${WORKDIR}"/files/NewerRes "${WORKDIR}"/files/Maps ) + NEW_DIRS=( "${WORKDIR}"/files/LevelSamples "${WORKDIR}"/files/NewerRes "${WORKDIR}"/files/Maps "${WORKDIR}"/files/Sound/new ) for dir in "${NEW_DIRS[@]}"; do mkdir -p "${dir}" done @@ -73,7 +73,6 @@ place_files () { cp "${RIIVOLUTION_DIR}"/BGs/* "${WORKDIR}"/files/Object/ cp "${RIIVOLUTION_DIR}"/SpriteTex/* "${WORKDIR}"/files/Object/ cp "${RIIVOLUTION_DIR}"/Layouts/* "${WORKDIR}"/files/Layout/ - mkdir "${WORKDIR}"/files/Sound/new/ cp -r "${RIIVOLUTION_DIR}"/Music/*.er "${WORKDIR}"/files/Sound/new/ cp "${RIIVOLUTION_DIR}"/Music/stream/* "${WORKDIR}"/files/Sound/stream/ cp "${RIIVOLUTION_DIR}"/Music/rsar/* "${WORKDIR}"/files/Sound/