summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2013-12-16 13:47:27 +0100
committerJan Dalheimer <jan@dalheimer.de>2013-12-16 13:47:27 +0100
commit7353908fd69eb23391d29240a5f274cce7f49e42 (patch)
tree13c2f1d82e36e56ccd46a48dd095fb4138bd06ec /package
parentf15306a0ac0b9e449344da07fd6304c5704c0913 (diff)
downloadMultiMC-7353908fd69eb23391d29240a5f274cce7f49e42.tar
MultiMC-7353908fd69eb23391d29240a5f274cce7f49e42.tar.gz
MultiMC-7353908fd69eb23391d29240a5f274cce7f49e42.tar.lz
MultiMC-7353908fd69eb23391d29240a5f274cce7f49e42.tar.xz
MultiMC-7353908fd69eb23391d29240a5f274cce7f49e42.zip
Fix running the runner script using a symlink
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 8229b24f..d8d620aa 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}"