summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-17 00:42:21 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-17 00:42:21 +0100
commit20e86801b3cc889a07cd8eef744b06b77a2239cc (patch)
tree535389306ede66b5d48243c4fad29bcb95dbb123 /package
parentfab8d6ae0b96ed04c339653cebc3f10c1edc5ea0 (diff)
parent7353908fd69eb23391d29240a5f274cce7f49e42 (diff)
downloadMultiMC-20e86801b3cc889a07cd8eef744b06b77a2239cc.tar
MultiMC-20e86801b3cc889a07cd8eef744b06b77a2239cc.tar.gz
MultiMC-20e86801b3cc889a07cd8eef744b06b77a2239cc.tar.lz
MultiMC-20e86801b3cc889a07cd8eef744b06b77a2239cc.tar.xz
MultiMC-20e86801b3cc889a07cd8eef744b06b77a2239cc.zip
Merge branch 'feature_runner_symlink' of https://github.com/02JanDal/MultiMC5 into develop
Diffstat (limited to 'package')
-rwxr-xr-xpackage/linux/MultiMC2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/linux/MultiMC b/package/linux/MultiMC
index 8095413d..8e854676 100755
--- a/package/linux/MultiMC
+++ b/package/linux/MultiMC
@@ -1,7 +1,7 @@
#!/bin/sh
# Basic start script for running MultiMC with the libs packaged with it.
-MMC_DIR=`dirname "$0"`
+MMC_DIR="$(dirname "$(readlink -f "$0")")"
cd "${MMC_DIR}"
echo "MultiMC Dir: ${MMC_DIR}"