From a8df88ab91b15e5c6893e070bf960a47475d99e5 Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 15 Aug 2016 21:14:36 +0800 Subject: [PATCH] https://github.com/Neilpang/acme.sh/issues/263 --- acme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acme.sh b/acme.sh index 03f954b..445e644 100755 --- a/acme.sh +++ b/acme.sh @@ -733,7 +733,7 @@ _mktemp() { _inithttp() { - if [ -z "$HTTP_HEADER" ] ; then + if [ -z "$HTTP_HEADER" ] || ! touch "HTTP_HEADER" ; then HTTP_HEADER="$(_mktemp)" _debug2 HTTP_HEADER "$HTTP_HEADER" fi @@ -2772,7 +2772,7 @@ _installOnline() { if [ ! "$BRANCH" ] ; then BRANCH="master" fi - _initpath + target="$PROJECT/archive/$BRANCH.tar.gz" _info "Downloading $target" localname="$BRANCH.tar.gz"