diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2013-12-16 13:47:27 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2013-12-16 13:47:27 +0100 |
commit | 7353908fd69eb23391d29240a5f274cce7f49e42 (patch) | |
tree | 13c2f1d82e36e56ccd46a48dd095fb4138bd06ec /package | |
parent | f15306a0ac0b9e449344da07fd6304c5704c0913 (diff) | |
download | MultiMC-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-x | package/linux/MultiMC | 2 |
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}" |