1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 11:27:35 +00:00

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
parent 8c18c7e4c2
commit 101e4233b8

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