Ports: Don't set the current working directory in the launcher script

This removes the hack for launching Super Mario.
This commit is contained in:
Gunnar Beutner 2021-06-04 00:31:28 +02:00 committed by Andreas Kling
commit 101e4233b8
Notes: sideshowbarker 2024-07-18 16:55:54 +09:00

View file

@ -105,7 +105,6 @@ install_launcher() {
cat >$DESTDIR/usr/local/libexec/$script_name <<SCRIPT
#!/bin/sh
set -e
cd -- "\$(dirname -- "\$(which -- $(printf %q "${launcher_command%% *}"))")"
exec $(printf '%q ' $launcher_command)
SCRIPT
chmod +x $DESTDIR/usr/local/libexec/$script_name