Fix running the runner script using a symlink

This commit is contained in:
Jan Dalheimer 2013-12-16 13:47:27 +01:00
parent f15306a0ac
commit 7353908fd6

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Basic start script for running MultiMC with the libs packaged with it. # 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}" cd "${MMC_DIR}"
echo "MultiMC Dir: ${MMC_DIR}" echo "MultiMC Dir: ${MMC_DIR}"