diff --git a/bin/compile b/bin/compile index d1f5795..d39b69b 100755 --- a/bin/compile +++ b/bin/compile @@ -4,7 +4,7 @@ set -eo pipefail; [[ $TRACE ]] && set -x NGINX_VERSION="1.17.0" NGINX_TARBALL="nginx-${NGINX_VERSION}.tar.gz" -PCRE_VERSION="8.43" +PCRE_VERSION="8.45" PCRE_TARBALL="pcre-${PCRE_VERSION}.tar.gz" SIGIL_VERSION="0.4.0" SIGIL_TARBALL="sigil_${SIGIL_VERSION}_Linux_x86_64.tgz" @@ -54,7 +54,7 @@ fi if [[ ! -d "${PCRE_TARBALL%.tar.gz}" ]]; then echo "-----> Download and unzip pcre ${PCRE_VERSION} via http" - curl -sSL "https://ftp.pcre.org/pub/pcre/${PCRE_TARBALL}" -o "${PCRE_TARBALL}" + curl -sSL "https://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VERSION}/${PCRE_TARBALL} -o "${PCRE_TARBALL}" tar xzf "${PCRE_TARBALL}" && rm -f "${PCRE_TARBALL}" fi