change way of executing unwrapped runner.

This commit is contained in:
Miepee 2022-09-29 21:39:37 +02:00
parent d34314b707
commit d378132085

View file

@ -130,7 +130,7 @@ patch_am2r ()
#!/usr/bin/env bash
# This environment variable fixes Mesa support. If another driver is used this should not do anything.
# See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4181 for more information.
radeonsi_sync_compile="true" exec "$(dirname "${BASH_SOURCE[0]}")/.runner-unwrapped" "$@"
radeonsi_sync_compile="true" exec "$(dirname "$(readlink "$0")")/.runner-unwrapped" "$@"
' > "$GAMEDIR/runner"
chmod +x "$GAMEDIR/runner" "$GAMEDIR/.runner-unwrapped"