aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.travis/test-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/test-run.sh b/.travis/test-run.sh
index ffff639..ff84b50 100755
--- a/.travis/test-run.sh
+++ b/.travis/test-run.sh
@@ -2,7 +2,7 @@
set -e
-SCRIPT_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
+SCRIPT_DIR="$(dirname "$(readlink -e "${BASH_SOURCE[0]}")")"
TARGET_SCRIPT="${SCRIPT_DIR}/targets/${TARGET}.sh"
if [[ -n "${TARGET}" ]] && [[ -e "${TARGET_SCRIPT}" ]]; then