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:
Darren Tucker 2022-03-26 22:01:31 +11:00
parent f5cdd3b3c2
commit 4bbe815ba9
1 changed files with 2 additions and 2 deletions

4
.github/setup_ci.sh vendored
View File

@ -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 &&