From 3a0be27797c4dd3b14c0f86e78ef89267d18f2e6 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 9 Feb 2022 15:16:25 -0500 Subject: [PATCH] had to hard code path to which on some hosts, which is a function which hoses up our careful de-aliasing approach (putting a backslash in front). now we're stuck with the semi-official location of expecting which in /usr/bin/which --- scripts/core/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index c4ff3f65..24ce6e8c 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -39,7 +39,7 @@ if [ -z "$skip_all" ]; then function whichable() { to_find="$1"; shift - local WHICHER="$(\which which 2>/dev/null)" + local WHICHER="$(/usr/bin/which which 2>/dev/null)" #>&2 echo "got whicher as: $WHICHER" if [ $? -ne 0 ]; then # there is no which command here. we produce nothing due to this. -- 2.34.1