Fix acme-challenge ./well-known check / webroot detection (#4339)

fixes webroot to be defined as 
_currentRoot='/www'
instead of being interpreted as
_currentRoot='"/www"'

Signed-off-by: Aleksei Nosachev <nos1609@hotmail.com>
This commit is contained in:
Aleksei Nosachev 2017-05-10 15:30:43 +03:00 committed by Toke Høiland-Jørgensen
parent b51b23e1a8
commit 8599b8d7a3
2 changed files with 2 additions and 2 deletions

View 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

View 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