summaryrefslogtreecommitdiffstats
path: root/package/linux
diff options
context:
space:
mode:
Diffstat (limited to 'package/linux')
-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}"