From 7671a379c60ee31833656816570015f17a1771ed Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 14 Aug 2020 20:54:16 -0500 Subject: [PATCH] [nostalgia] Fix pkg-gba to work with new current build system --- scripts/pkg-gba | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/pkg-gba b/scripts/pkg-gba index 0c49a025..d9344122 100755 --- a/scripts/pkg-gba +++ b/scripts/pkg-gba @@ -2,7 +2,10 @@ set -e -BIN=./dist/$(cat .current_build)/bin/ +OS=$(uname | tr [:upper:] [:lower:]) +HOST_ENV=${OS}-$(uname -m) + +BIN=./dist/${HOST_ENV}-$(cat .current_build)/bin/ PATH=$BIN:${DEVKITPRO}/tools/bin/:${DEVKITARM}/bin/:$PATH NOSTALGIA_BIN=build/gba-*/src/nostalgia/player/nostalgia.bin NOSTALGIA_MEDIA=nostalgia_media.oxfs