Skip to content

Commit 24be6fe

Browse files
author
Lisa Ugray
committed
Bump hookbook
1 parent e23e5ba commit 24be6fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sh/hookbook.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ __hookbook_call_each() {
7373
# we gain nothing from running it in these cases because we already attach
7474
# to PROMPT_COMMAND.
7575
[[ "$(uname -s)" == "Darwin" ]] && {
76-
__dev_null_major="$(stat -f "%Hr" "/dev/null")"
77-
__stat_stderr='stat -f "%Hr" /dev/fd/2'
76+
__dev_null_major="$(/usr/bin/stat -f "%Hr" "/dev/null")"
77+
__stat_stderr='/usr/bin/stat -f "%Hr" /dev/fd/2'
7878
} || {
79-
__dev_null_major="$(stat -c "%t" /dev/null)"
80-
__stat_stderr='stat -c "%t" "$(readlink -f "/dev/fd/2")"'
79+
__dev_null_major="$(/usr/bin/stat -c "%t" /dev/null)"
80+
__stat_stderr='/usr/bin/stat -c "%t" "$(readlink -f "/dev/fd/2")"'
8181
}
8282
\eval "__hookbook_debug_handler() {
8383
[[ \"\${BASH_COMMAND}\" == \"\${PROMPT_COMMAND}\" ]] && \\return

0 commit comments

Comments
 (0)