mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-09-04 00:05:35 +00:00
fix bug, upgrade in current dir without installation.
This commit is contained in:
4
acme.sh
4
acme.sh
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
VER=2.5.1
|
VER=2.5.2
|
||||||
|
|
||||||
PROJECT_NAME="acme.sh"
|
PROJECT_NAME="acme.sh"
|
||||||
|
|
||||||
@@ -3125,6 +3125,8 @@ _installOnline() {
|
|||||||
|
|
||||||
upgrade() {
|
upgrade() {
|
||||||
if (
|
if (
|
||||||
|
_initpath
|
||||||
|
export LE_WORKING_DIR
|
||||||
cd "$LE_WORKING_DIR"
|
cd "$LE_WORKING_DIR"
|
||||||
_installOnline "nocron"
|
_installOnline "nocron"
|
||||||
) ; then
|
) ; then
|
||||||
|
Reference in New Issue
Block a user