fix bug, upgrade in current dir without installation.

This commit is contained in:
neil 2016-09-18 13:06:15 +08:00
parent 3324c0ae79
commit 267f283a31

View File

@ -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