From c4ad67f9de356712152e0475d24a9d7c21905fa2 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 20 Sep 2016 00:44:27 -0600 Subject: [PATCH] Fix curl calls --- bin/compile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/compile b/bin/compile index 5cac71e..0ce1956 100755 --- a/bin/compile +++ b/bin/compile @@ -46,14 +46,14 @@ if [[ ! -d "${NGINX_TARBALL%.tar.gz}" ]]; then fi if [[ ! -d "${PCRE_TARBALL%.tar.gz}" ]]; then - echo -sSL "-----> download and unzip pcre" - curl "http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${PCRE_TARBALL}" -o "${PCRE_TARBALL}" + echo "-----> download and unzip pcre" + curl -sSL "http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${PCRE_TARBALL}" -o "${PCRE_TARBALL}" tar xzf "${PCRE_TARBALL}" && rm -f "${PCRE_TARBALL}" fi if [[ ! -d "${ZLIB_TARBALL%.tar.gz}" ]]; then - echo -sSL "-----> download and unzip zlib" - curl "http://zlib.net/${ZLIB_TARBALL}" -o "${ZLIB_TARBALL}" + echo "-----> download and unzip zlib" + curl -sSL "http://zlib.net/${ZLIB_TARBALL}" -o "${ZLIB_TARBALL}" tar xzf "${ZLIB_TARBALL}" && rm -rf "${ZLIB_TARBALL}" fi