mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
Fix gamemoderun to set the right environment variable
This commit is contained in:
parent
536be9c4c4
commit
d17d682082
@ -4,8 +4,8 @@
|
|||||||
# Path to install gamemoded auto script
|
# Path to install gamemoded auto script
|
||||||
CONFIG_LIB_DIR="@GAMEMODE_LIB_DIR@/libgamemodeauto.so.0"
|
CONFIG_LIB_DIR="@GAMEMODE_LIB_DIR@/libgamemodeauto.so.0"
|
||||||
|
|
||||||
# Set the ld library path prefixed libgamemodeauto
|
# Set the ld preload path prefixed libgamemodeauto
|
||||||
export LD_LIBRARY_PATH=${CONFIG_LIB_DIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
export LD_PRELOAD="${CONFIG_LIB_DIR}${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||||
|
|
||||||
# Launch
|
# Launch
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user