mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +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
|
||||
CONFIG_LIB_DIR="@GAMEMODE_LIB_DIR@/libgamemodeauto.so.0"
|
||||
|
||||
# Set the ld library path prefixed libgamemodeauto
|
||||
export LD_LIBRARY_PATH=${CONFIG_LIB_DIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
# Set the ld preload path prefixed libgamemodeauto
|
||||
export LD_PRELOAD="${CONFIG_LIB_DIR}${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||
|
||||
# Launch
|
||||
exec "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user