BUILD: remove "build_libressl" duplicate declaration

This commit is contained in:
Ilya Shipitsin 2019-05-05 17:41:12 +05:00 committed by Willy Tarreau
parent 44864ac7b0
commit db6e4beea7

View File

@ -44,14 +44,6 @@ download_libressl () {
fi fi
} }
build_libressl() {
(
cd "libressl-${LIBRESSL_VERSION}/"
./configure --prefix="${HOME}/opt"
make all install
)
}
build_libressl () { build_libressl () {
if [ "$(cat ${HOME}/opt/.libressl-version)" != "${LIBRESSL_VERSION}" ]; then if [ "$(cat ${HOME}/opt/.libressl-version)" != "${LIBRESSL_VERSION}" ]; then
tar zxf "download-cache/libressl-${LIBRESSL_VERSION}.tar.gz" tar zxf "download-cache/libressl-${LIBRESSL_VERSION}.tar.gz"