Skip to content

Commit

Permalink
lib/helpers: define pathmunge() unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelicWizard committed Jan 30, 2022
1 parent a4b123b commit 968a53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 968a53e

Please sign in to comment.