From aa45a071a4bad7d164bcf25af90dadbb770f1637 Mon Sep 17 00:00:00 2001 From: John D Pell Date: Fri, 7 Jan 2022 23:57:51 -0800 Subject: [PATCH] lib/helpers: define `pathmunge()` unconditionally --- lib/helpers.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers.bash b/lib/helpers.bash index 110364182e..5367d4e649 100644 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -41,7 +41,7 @@ function _binary_exists() { _example '$ _binary_exists ls && echo exists' _group 'lib' local msg="${2:-Binary '$1' does not exist}" - if type -p "$1" > /dev/null; then + if type -P "$1" > /dev/null; then return 0 else _log_debug "$msg"