From 2db4a595dd13c16f8fee8c6f67d75a7ef10d2f30 Mon Sep 17 00:00:00 2001 From: Soni L Date: Thu, 17 Dec 2015 19:38:14 -0200 Subject: [PATCH] GH-1355 Fix MMC env propagating to MC after update This closes GH-1355 --- application/package/linux/MultiMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/package/linux/MultiMC b/application/package/linux/MultiMC index 0a8d0470..9e1d7720 100755 --- a/application/package/linux/MultiMC +++ b/application/package/linux/MultiMC @@ -18,8 +18,8 @@ MMC_DIR="$(dirname "$(readlink -f "$0")")" echo "MultiMC Dir: ${MMC_DIR}" # 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_PRELOAD=${GAME_PRELOAD:-${LD_PRELOAD}} +export GAME_LIBRARY_PATH=${GAME_LIBRARY_PATH-${LD_LIBRARY_PATH}} +export GAME_PRELOAD=${GAME_PRELOAD-${LD_PRELOAD}} export LD_LIBRARY_PATH="${MMC_DIR}/bin":$MMC_LIBRARY_PATH export LD_PRELOAD=$MMC_PRELOAD export QT_PLUGIN_PATH="${MMC_DIR}/plugins"