Skip to content

Commit

Permalink
perf(kong-ngx-build) reduce the output size of the script by removing…
Browse files Browse the repository at this point in the history
… verbose

option when un-taring the source codes
  • Loading branch information
dndx committed Feb 12, 2020
1 parent aabccd9 commit fdfc67a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openresty-build-tools/kong-ngx-build
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ main() {
if [ ! -z ${OPENSSL_SHA+x} ]; then
echo "$OPENSSL_SHA openssl-$OPENSSL_VER.tar.gz" | sha256sum -c -
fi
tar -xzvf openssl-$OPENSSL_VER.tar.gz
tar -xzf openssl-$OPENSSL_VER.tar.gz
fi

# OpenResty
Expand All @@ -209,7 +209,7 @@ main() {
if [ ! -z ${OPENRESTY_SHA+x} ]; then
echo "$OPENRESTY_SHA openresty-$OPENRESTY_VER.tar.gz" | sha256sum -c -
fi
tar -xzvf openresty-$OPENRESTY_VER.tar.gz
tar -xzf openresty-$OPENRESTY_VER.tar.gz
fi
fi

Expand All @@ -223,7 +223,7 @@ main() {
if [ ! -z ${PCRE_SHA+x} ]; then
echo "$PCRE_SHA pcre-${PCRE_VER}.tar.gz" | sha256sum -c -
fi
tar -xzvf pcre-${PCRE_VER}.tar.gz
tar -xzf pcre-${PCRE_VER}.tar.gz
fi
fi

Expand All @@ -241,7 +241,7 @@ main() {
if [ ! -z ${LUAROCKS_SHA+x} ]; then
echo "$LUAROCKS_SHA luarocks-$LUAROCKS_VER.tar.gz" | sha256sum -c -
fi
tar -xzvf luarocks-$LUAROCKS_VER.tar.gz
tar -xzf luarocks-$LUAROCKS_VER.tar.gz
fi
fi
fi
Expand Down

0 comments on commit fdfc67a

Please sign in to comment.