acme: fix the 'Unknown parameter' problem caused by acme_server 13706/head
authorMeano <meano@foxmail.com>
Sun, 18 Oct 2020 16:56:31 +0000 (00:56 +0800)
committerMeano <meano@foxmail.com>
Sun, 18 Oct 2020 17:47:43 +0000 (01:47 +0800)
Signed-off-by: Meano <meano@foxmail.com>
net/acme/Makefile
net/acme/files/run.sh

index de1baf473fb4321f1ab43d40125ee5ff61dd6307..37ba33aafc9702781485c61f2552ff89d53ce2ef 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=acme
 PKG_VERSION:=2.8.7
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/acmesh-official/acme.sh/tar.gz/$(PKG_VERSION)?
index e167b7043349171d380cb98edb41679d9c2338dc..a605ea59a2bda96b38f6149f17ea463dc945d72d 100644 (file)
@@ -279,7 +279,7 @@ issue_cert()
        [ -n "$ACCOUNT_EMAIL" ] && acme_args="$acme_args --accountemail $ACCOUNT_EMAIL"
        [ "$use_staging" -eq "1" ] && acme_args="$acme_args --staging"
 
-       if [ -n $acme_server ]; then
+       if [ -n "$acme_server" ]; then
                log "Using custom ACME server URL"
                acme_args="$acme_args --server $acme_server"
        fi