Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
f63409ee
Commit
f63409ee
authored
Nov 06, 2021
by
neil
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/1559
parent
ad8940ad
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
f63409ee
...
@@ -5712,10 +5712,18 @@ installcronjob() {
...
@@ -5712,10 +5712,18 @@ installcronjob() {
_CRONTAB
=
"crontab"
_CRONTAB
=
"crontab"
if
[
-f
"
$LE_WORKING_DIR
/
$PROJECT_ENTRY
"
]
;
then
if
[
-f
"
$LE_WORKING_DIR
/
$PROJECT_ENTRY
"
]
;
then
lesh
=
"
\"
$LE_WORKING_DIR
\"
/
$PROJECT_ENTRY
"
lesh
=
"
\"
$LE_WORKING_DIR
\"
/
$PROJECT_ENTRY
"
else
_debug
"_SCRIPT_"
"
$_SCRIPT_
"
_script
=
"
$(
_readlink
"
$_SCRIPT_
"
)
"
_debug _script
"
$_script
"
if
[
-f
"
$_script
"
]
;
then
_info
"Using the current script from:
$_script
"
lesh
=
"
$_script
"
else
else
_err
"Can not install cronjob,
$PROJECT_ENTRY
not found."
_err
"Can not install cronjob,
$PROJECT_ENTRY
not found."
return
1
return
1
fi
fi
fi
if
[
"
$_c_home
"
]
;
then
if
[
"
$_c_home
"
]
;
then
_c_entry
=
"--config-home
\"
$_c_home
\"
"
_c_entry
=
"--config-home
\"
$_c_home
\"
"
fi
fi
...
...
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