Fix acme-challenge ./well-known check / webroot detection (#4339)
authorAleksei Nosachev <nos1609@users.noreply.github.com>
Wed, 10 May 2017 12:30:43 +0000 (15:30 +0300)
committerToke Høiland-Jørgensen <toke@toke.dk>
Wed, 10 May 2017 12:30:43 +0000 (14:30 +0200)
fixes webroot to be defined as
_currentRoot='/www'
instead of being interpreted as
_currentRoot='"/www"'

Signed-off-by: Aleksei Nosachev <nos1609@hotmail.com>
net/acme/Makefile
net/acme/files/run.sh

index 88148545bb1bba6eb48590d485c14e7cfdced932..97311b3de2e9ac56ead086b38194d2dd9cafa11b 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=acme
 PKG_SOURCE_VERSION:=7b40cbe8c1a52041351524bcde4b37665a7cdf79
 PKG_VERSION:=1.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_LICENSE:=GPLv3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.xz
index 6bedaca16770aaddd6ea85fb9fe0176aaa57fce2..50c5f9cd07a7a3acd95a69584ca6254214708a68 100644 (file)
@@ -189,7 +189,7 @@ issue_cert()
             return 1
         fi
         log "Using webroot dir: $webroot"
-        acme_args="$acme_args --webroot \"$webroot\""
+        acme_args="$acme_args --webroot $webroot"
     fi
 
     if ! $ACME --home "$STATE_DIR" --issue $acme_args; then