Overview
Comment: | Updated download program to support old versions of bash |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c86d4fcb089f18c71691a700ce8bb5a7 |
User & Date: | rkeene on 2016-04-13 15:32:50 |
Other Links: | manifest | tags |
Context
2016-04-13
| ||
15:57 | Updated to wait for the remote host to come up before doing remote builds check-in: 999692e78c user: rkeene tags: trunk | |
15:32 | Updated download program to support old versions of bash check-in: c86d4fcb08 user: rkeene tags: trunk | |
2016-04-08
| ||
16:03 | Updated to latest config.guess/config.sub from autoconf (includes musl fixes) check-in: 05ffe94d89 user: rkeene tags: trunk | |
Changes
Modified common/helpers/download from [37e596df70] to [d546c4b48d].
︙ | ︙ | |||
42 43 44 45 46 47 48 | ;; esac function downloadFile() { local file urls local downloadProgramArgs local url | | | | | | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | ;; esac function downloadFile() { local file urls local downloadProgramArgs local url local authoritativeURL file="$1" shift urls=("$@") authoritativeURL="${urls[@]: -1}" case "${downloadProgram}" in curl) downloadProgramArgs=(--header "X-Cache-URL: ${authoritativeURL}" --location --insecure --fail --output "${file}") ;; wget) downloadProgramArgs=(--header="X-Cache-URL: ${authoritativeURL}" --no-check-certificate --output-document="${file}") ;; esac for url in "${urls[@]}" __fail__; do rm -f "${file}" if [ "${url}" = '__fail__' ]; then |
︙ | ︙ |