From 01864337c4190d19f21ee8df0beaf51f783c1940 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 11 May 2020 13:23:26 -0500 Subject: Fix "make tests". (realpath was replacing command name with "toybox".) --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } -- cgit v1.2.3