escaped which to avoid hitting aliases
[feisty_meow.git] / scripts / core / functions.sh
index 6989449f702b475fdfe2fb5fa9bc4049334e98d6..a490bd40d2b6312891ecc2fd808dfb88c7dfe08e 100644 (file)
@@ -39,7 +39,7 @@ if [ -z "$skip_all" ]; then
   function whichable()
   {
     to_find="$1"; shift
-    local WHICHER="$(which which 2>/dev/null)"
+    local WHICHER="$(\which which 2>/dev/null)"
     if [ $? -ne 0 ]; then
       # there is no which command here.  we produce nothing due to this.
       echo