diff options
Diffstat (limited to 'packaging/makeself/jobs/50-bash-5.1.16.install.sh')
-rwxr-xr-x | packaging/makeself/jobs/50-bash-5.1.16.install.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/makeself/jobs/50-bash-5.1.16.install.sh b/packaging/makeself/jobs/50-bash-5.1.16.install.sh index f75bb9d2e..7a302f2ee 100755 --- a/packaging/makeself/jobs/50-bash-5.1.16.install.sh +++ b/packaging/makeself/jobs/50-bash-5.1.16.install.sh @@ -3,14 +3,14 @@ # shellcheck source=packaging/makeself/functions.sh . "$(dirname "${0}")/../functions.sh" "${@}" || exit 1 - -version="5.1.16" +# Source of truth for all the packages we bundle in static builds +. "$(dirname "${0}")/../bundled-packages" # shellcheck disable=SC2015 [ "${GITHUB_ACTIONS}" = "true" ] && echo "::group::building bash" || true -fetch "bash-${version}" "http://ftp.gnu.org/gnu/bash/bash-${version}.tar.gz" \ - 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558 bash +fetch "bash-${BASH_VERSION}" "${BASH_ARTIFACT_SOURCE}/bash-${BASH_VERSION}.tar.gz" \ + "${BASH_ARTIFACT_SHA256}" bash export CFLAGS="-pipe" export PKG_CONFIG_PATH="/openssl-static/lib64/pkgconfig" @@ -39,7 +39,7 @@ fi run make install -store_cache bash "${NETDATA_MAKESELF_PATH}/tmp/bash-${version}" +store_cache bash "${NETDATA_MAKESELF_PATH}/tmp/bash-${BASH_VERSION}" if [ "${NETDATA_BUILD_WITH_DEBUG}" -eq 0 ]; then run strip "${NETDATA_INSTALL_PATH}"/bin/bash |