commit | 01864337c4190d19f21ee8df0beaf51f783c1940 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon May 11 13:23:26 2020 -0500 |
committer | Rob Landley <rob@landley.net> | Mon May 11 13:23:26 2020 -0500 |
tree | 6aef6ef4fd71d397bdd39ac119abcfe02e61308d | |
parent | 0f6e92e1e14fe890e4b95dd954c8c2441c9f2a8c [diff] |
Fix "make tests". (realpath was replacing command name with "toybox".)
diff --git a/scripts/test.sh b/scripts/test.sh index b22f928..bc00058 100755 --- a/scripts/test.sh +++ b/scripts/test.sh
@@ -42,7 +42,7 @@ C="$(which $CMDNAME 2>/dev/null)" [ -z "$C" ] && "C=$CMDNAME" fi - C="$(realpath "$C")" + C="$(dirname $(realpath "$C"))/$CMDNAME" . "$1" }