Drop leading "v" from release version identifier.
It's present in the git tags but not in the release tarball names. Also drop extra "/" from URL path.
This commit is contained in:
parent
f5cdd3b3c2
commit
4bbe815ba9
|
@ -80,7 +80,7 @@ for TARGET in $TARGETS; do
|
||||||
INSTALL_LIBRESSL=$(echo ${TARGET} | cut -f2 -d-)
|
INSTALL_LIBRESSL=$(echo ${TARGET} | cut -f2 -d-)
|
||||||
case ${INSTALL_LIBRESSL} in
|
case ${INSTALL_LIBRESSL} in
|
||||||
master) ;;
|
master) ;;
|
||||||
*) INSTALL_LIBRESSL="v$(echo ${TARGET} | cut -f2 -d-)" ;;
|
*) INSTALL_LIBRESSL="$(echo ${TARGET} | cut -f2 -d-)" ;;
|
||||||
esac
|
esac
|
||||||
PACKAGES="${PACKAGES} putty-tools"
|
PACKAGES="${PACKAGES} putty-tools"
|
||||||
;;
|
;;
|
||||||
|
@ -131,7 +131,7 @@ if [ ! -z "${INSTALL_LIBRESSL}" ]; then
|
||||||
./configure --prefix=/opt/libressl &&
|
./configure --prefix=/opt/libressl &&
|
||||||
make -j2 && sudo make install)
|
make -j2 && sudo make install)
|
||||||
else
|
else
|
||||||
LIBRESSL_URLBASE=https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/
|
LIBRESSL_URLBASE=https://cdn.openbsd.org/pub/OpenBSD/LibreSSL
|
||||||
(cd ${HOME} &&
|
(cd ${HOME} &&
|
||||||
wget ${LIBRESSL_URLBASE}/libressl-${INSTALL_LIBRESSL}.tar.gz &&
|
wget ${LIBRESSL_URLBASE}/libressl-${INSTALL_LIBRESSL}.tar.gz &&
|
||||||
tar xfz libressl-${INSTALL_LIBRESSL}.tar.gz &&
|
tar xfz libressl-${INSTALL_LIBRESSL}.tar.gz &&
|
||||||
|
|
Loading…
Reference in New Issue