evoacme: use local variable
This commit is contained in:
parent
4d6853f844
commit
3d3e45faef
|
@ -98,7 +98,7 @@ exec_hooks() {
|
|||
export EVOACME_VHOST_NAME="${VHOST}"
|
||||
export EVOACME_LIVE_FULLCHAIN="${LIVE_FULLCHAIN}"
|
||||
|
||||
for hook in $(find ${HOOKS_DIR} -type f | grep -v ".disabled$"); do
|
||||
for hook in $(find ${hooks_dir} -type f | grep -v ".disabled$"); do
|
||||
if [ -x "${hook}" ]; then
|
||||
debug "Executing ${hook}"
|
||||
${hook}
|
||||
|
|
Loading…
Reference in a new issue