From: Chris Koeritz Date: Wed, 9 Feb 2022 20:16:25 +0000 (-0500) Subject: had to hard code path to which X-Git-Tag: 2.140.134^2~2^2~1 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=3a0be27797c4dd3b14c0f86e78ef89267d18f2e6;p=feisty_meow.git 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 --- 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.