aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index b22f928e..bc00058f 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -42,7 +42,7 @@ do_test()
C="$(which $CMDNAME 2>/dev/null)"
[ -z "$C" ] && "C=$CMDNAME"
fi
- C="$(realpath "$C")"
+ C="$(dirname $(realpath "$C"))/$CMDNAME"
. "$1"
}