mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
GH-1355 Fix MMC env propagating to MC after update
This closes GH-1355
This commit is contained in:
parent
2da3162206
commit
2db4a595dd
@ -18,8 +18,8 @@ MMC_DIR="$(dirname "$(readlink -f "$0")")"
|
|||||||
echo "MultiMC Dir: ${MMC_DIR}"
|
echo "MultiMC Dir: ${MMC_DIR}"
|
||||||
|
|
||||||
# Set up env - filter out input LD_ variables but pass them in under different names
|
# Set up env - filter out input LD_ variables but pass them in under different names
|
||||||
export GAME_LIBRARY_PATH=${GAME_LIBRARY_PATH:-${LD_LIBRARY_PATH}}
|
export GAME_LIBRARY_PATH=${GAME_LIBRARY_PATH-${LD_LIBRARY_PATH}}
|
||||||
export GAME_PRELOAD=${GAME_PRELOAD:-${LD_PRELOAD}}
|
export GAME_PRELOAD=${GAME_PRELOAD-${LD_PRELOAD}}
|
||||||
export LD_LIBRARY_PATH="${MMC_DIR}/bin":$MMC_LIBRARY_PATH
|
export LD_LIBRARY_PATH="${MMC_DIR}/bin":$MMC_LIBRARY_PATH
|
||||||
export LD_PRELOAD=$MMC_PRELOAD
|
export LD_PRELOAD=$MMC_PRELOAD
|
||||||
export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
|
export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
|
||||||
|
Loading…
Reference in New Issue
Block a user