Skip to content

Commit 61144e7

Browse files
authored
Merge pull request #16 from n-at/feature-build-paths
make $outPath absolute
2 parents 488c5cd + 5620d5c commit 61144e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildPath="$PWD/compile"
55
outputPath="$PWD/output"
66
buildReport="$outputPath/reports"
77
logPath="$outputPath/logs"
8-
outPath="RetroArch/dist-scripts"
8+
outPath="$buildPath/RetroArch/dist-scripts"
99
tempPath="RetroArch/dist-scripts/core-temp"
1010

1111
build() {
@@ -154,7 +154,7 @@ for row in $(jq -r '.[] | @base64' ../cores.json); do
154154
fi
155155

156156
echo "Building wasm's for core $name"
157-
cd RetroArch/dist-scripts
157+
cd "$buildPath/RetroArch/dist-scripts"
158158

159159
if [[ "$custom" = "true" ]]; then
160160
eval "$build_retroarch_command" >> "$logPath/$name-emake.log"

0 commit comments

Comments
 (0)