Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
b335840f
Unverified
Commit
b335840f
authored
Aug 22, 2021
by
neil
Committed by
GitHub
Aug 22, 2021
Browse files
Merge pull request #3657 from Sp1l/extend_pre_hook
Make domain names available to pre hook
parents
c5efec67
e1643620
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
b335840f
...
...
@@ -3382,6 +3382,8 @@ _on_before_issue() {
if [ "$_chk_pre_hook" ]; then
_info "Run pre hook:'$_chk_pre_hook'"
if ! (
export Le_Domain="$_chk_main_domain"
export Le_Alt="$_chk_alt_domains"
cd "$DOMAIN_PATH" && eval "$_chk_pre_hook"
); then
_err "Error when run pre hook."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment