summaryrefslogtreecommitdiffstats
path: root/admin/runtests
diff options
context:
space:
mode:
Diffstat (limited to 'admin/runtests')
-rw-r--r--admin/runtests4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/runtests b/admin/runtests
index 770c5fb..6629235 100644
--- a/admin/runtests
+++ b/admin/runtests
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
-HERE=$(readlink --canonicalize $(dirname "$0"))
+# Get the absolute path containing this script
+cd $(dirname "$0")
+HERE=$PWD
test_import () {
./admin/checkimports