update: print the hook name
This commit is contained in:
@@ -198,6 +198,7 @@ leaf_invoke_hooks() {
|
|||||||
[[ " ${triggers[*]} " =~ " $1 " ]] || continue
|
[[ " ${triggers[*]} " =~ " $1 " ]] || continue
|
||||||
for _target in "${target[@]}"; do
|
for _target in "${target[@]}"; do
|
||||||
if grep -qe "${_target}" "${_trace_dir}"/FILES 2>/dev/null; then
|
if grep -qe "${_target}" "${_trace_dir}"/FILES 2>/dev/null; then
|
||||||
|
echo -e "${GREEN_COLOR}*** Apply the hook: ${_hook}...${CLEAR_COLOR}"
|
||||||
operation
|
operation
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user