From 1ed822d6e8591b09f33acccac79aa0c0611dfd8c Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 1 Oct 2013 16:30:30 -0500 Subject: Made run script instal as executable. Also fixed a small bug with the run script. --- package/linux/MultiMC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/linux/MultiMC b/package/linux/MultiMC index 297304cf..c8c1b55a 100755 --- a/package/linux/MultiMC +++ b/package/linux/MultiMC @@ -1,8 +1,9 @@ #!/bin/sh # Basic start script for running MultiMC with the libs packaged with it. -MMC_DIR=$(dirname "$0") +MMC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "${MMC_DIR}" +echo "MultiMC Dir: ${MMC_DIR}" export LD_LIBRARY_PATH="${MMC_DIR}/lib":$LD_LIBRARY_PATH export QT_PLUGIN_PATH="${MMC_DIR}/plugins" -- cgit v1.2.3