aboutsummaryrefslogtreecommitdiff
path: root/tests/prepare.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/prepare.sh')
-rwxr-xr-xtests/prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prepare.sh b/tests/prepare.sh
index d8248b4..89982c3 100755
--- a/tests/prepare.sh
+++ b/tests/prepare.sh
@@ -9,7 +9,7 @@ cp ../example.conf mcwrapper.conf
if [[ $PREPARED != "y" ]]; then
# Move to known directory
- cd "$( dirname "${BASH_SOURCE[0]}" )"
+ cd "$( readlink -f "${BASH_SOURCE[0]}" )"
if [[ $MCSERVERS == "y" ]]; then
mkdir -p minecraft-server