From 7353908fd69eb23391d29240a5f274cce7f49e42 Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Mon, 16 Dec 2013 13:47:27 +0100 Subject: [PATCH] Fix running the runner script using a symlink --- package/linux/MultiMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/linux/MultiMC b/package/linux/MultiMC index 8229b24f1..d8d620aac 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}"