1
0
Fork 0
mirror of synced 2024-06-06 17:11:09 -04:00

Merge pull request #150 from addshore/patch-1

This commit is contained in:
Tim Byrne 2020-12-22 11:17:05 -06:00
commit c2cb41cdd5
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

2
yadm
View file

@ -1660,7 +1660,7 @@ function invoke_hook() {
exit_status="$2" exit_status="$2"
hook_command="${YADM_HOOKS}/${mode}_$HOOK_COMMAND" hook_command="${YADM_HOOKS}/${mode}_$HOOK_COMMAND"
if [ -x "$hook_command" ] ; then if [ -x "$hook_command" ] || ( [[ $OPERATING_SYSTEM == MINGW* ]] && [ -f "$hook_command" ] ) ; then
debug "Invoking hook: $hook_command" debug "Invoking hook: $hook_command"
# expose some internal data to all hooks # expose some internal data to all hooks