Nullify user-defined --write-out option in cURL (#265)

* Nullify user-defined --write-out option in cURL
This commit is contained in:
Daniel Li
2018-12-05 15:18:57 +00:00
committed by popcornmix
parent d6af6ca191
commit b431ad7cac

View File

@@ -293,7 +293,7 @@ function download_rev {
echo " *** Downloading specific firmware revision (this will take a few minutes)" echo " *** Downloading specific firmware revision (this will take a few minutes)"
rm -rf "${FW_REPOLOCAL}" rm -rf "${FW_REPOLOCAL}"
mkdir -p "${FW_REPOLOCAL}" mkdir -p "${FW_REPOLOCAL}"
eval curl -L ${GITHUB_AUTH_PARAM} "${REPO_URI}/tarball/${FW_REV}" | tar xzf - -C "${FW_REPOLOCAL}" --strip-components=1 eval curl -w "" -L ${GITHUB_AUTH_PARAM} "${REPO_URI}/tarball/${FW_REV}" | tar xzf - -C "${FW_REPOLOCAL}" --strip-components=1
fi fi
} }