Unverified Commit b335840f authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #3657 from Sp1l/extend_pre_hook

Make domain names available to pre hook
parents c5efec67 e1643620
...@@ -3382,6 +3382,8 @@ _on_before_issue() { ...@@ -3382,6 +3382,8 @@ _on_before_issue() {
if [ "$_chk_pre_hook" ]; then if [ "$_chk_pre_hook" ]; then
_info "Run pre hook:'$_chk_pre_hook'" _info "Run pre hook:'$_chk_pre_hook'"
if ! ( if ! (
export Le_Domain="$_chk_main_domain"
export Le_Alt="$_chk_alt_domains"
cd "$DOMAIN_PATH" && eval "$_chk_pre_hook" cd "$DOMAIN_PATH" && eval "$_chk_pre_hook"
); then ); then
_err "Error when run pre hook." _err "Error when run pre hook."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment