Skip to content

Commit 3184924

Browse files
committed
eduke32 / ionfury - Switch to $md_conf_root/$portname before launching
The eduke32.log/fury.log files are saved to . so by default they would be generated in $HOME. Now they will be generated in the configuration folder for the port. Fixes #3473
1 parent e85cbd5 commit 3184924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/ports/eduke32.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function add_games_eduke32() {
148148
game_args="game$game[2]"
149149

150150
if [[ -d "$romdir/ports/$portname/${!game_path}" ]]; then
151-
addPort "$md_id" "$portname" "${!game_launcher}" "${binary}.sh %ROM%" "-j$romdir/ports/$portname/${game0[1]} -j$romdir/ports/$portname/${!game_path} ${!game_args}"
151+
addPort "$md_id" "$portname" "${!game_launcher}" "pushd $md_conf_root/$portname; ${binary}.sh %ROM%; popd" "-j$romdir/ports/$portname/${game0[1]} -j$romdir/ports/$portname/${!game_path} ${!game_args}"
152152
fi
153153
done
154154

0 commit comments

Comments
 (0)