mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Adjust formatting
Also use `{...;}` instead of `(...)`
This commit is contained in:
parent
c2cb41cdd5
commit
f9337101ee
3
yadm
3
yadm
@ -1660,7 +1660,8 @@ function invoke_hook() {
|
||||
exit_status="$2"
|
||||
hook_command="${YADM_HOOKS}/${mode}_$HOOK_COMMAND"
|
||||
|
||||
if [ -x "$hook_command" ] || ( [[ $OPERATING_SYSTEM == MINGW* ]] && [ -f "$hook_command" ] ) ; then
|
||||
if [ -x "$hook_command" ] || \
|
||||
{ [[ $OPERATING_SYSTEM == MINGW* ]] && [ -f "$hook_command" ] ;} ; then
|
||||
debug "Invoking hook: $hook_command"
|
||||
|
||||
# expose some internal data to all hooks
|
||||
|
Loading…
Reference in New Issue
Block a user