summaryrefslogtreecommitdiff
path: root/scripts/travis-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/travis-test.sh')
-rwxr-xr-xscripts/travis-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/travis-test.sh b/scripts/travis-test.sh
index da085544..07b334ac 100755
--- a/scripts/travis-test.sh
+++ b/scripts/travis-test.sh
@@ -18,8 +18,8 @@
set -o nounset
set -o errexit
-SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
-source ${SCRIPT_DIR}/travis-common.sh
+SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd -P)"
+source "${SCRIPT_DIR}/travis-common.sh"
log_and_run() {
echo $*