neil 2016-08-15 21:14:36 +08:00
parent df9547ae39
commit a8df88ab91

View File

@ -733,7 +733,7 @@ _mktemp() {
_inithttp() { _inithttp() {
if [ -z "$HTTP_HEADER" ] ; then if [ -z "$HTTP_HEADER" ] || ! touch "HTTP_HEADER" ; then
HTTP_HEADER="$(_mktemp)" HTTP_HEADER="$(_mktemp)"
_debug2 HTTP_HEADER "$HTTP_HEADER" _debug2 HTTP_HEADER "$HTTP_HEADER"
fi fi
@ -2772,7 +2772,7 @@ _installOnline() {
if [ ! "$BRANCH" ] ; then if [ ! "$BRANCH" ] ; then
BRANCH="master" BRANCH="master"
fi fi
_initpath
target="$PROJECT/archive/$BRANCH.tar.gz" target="$PROJECT/archive/$BRANCH.tar.gz"
_info "Downloading $target" _info "Downloading $target"
localname="$BRANCH.tar.gz" localname="$BRANCH.tar.gz"