CI: scripts/build-ssl: add a DESTDIR and TMPDIR variable
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 22 May 2024 16:31:30 +0000 (18:31 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 23 May 2024 13:34:59 +0000 (15:34 +0200)
commit5d73643ca310226f3a8551067323627891126256
tree981dd24ee4bce73791c9ff21c32cdaa95a8066e4
parentd11249f2921bd39a67d58cb54b1da2aeb37300e5
CI: scripts/build-ssl: add a DESTDIR and TMPDIR variable

Add a DESTDIR and TMPDIR variables so the build-ssl.sh script can be used as a
generic SSL lib installer outside the CI.

The varibles are prefixed with BUILDSSL so they doesn't collide with the
makefile one.

Ex:

  OPENSSL_VERSION=3.2.0 BUILDSSL_DESTDIR=/opt/openssl-3.2.0/ ./scripts/build-ssl.sh
  WOLFSSL_VERSION=5.7.0 BUILDSSL_DESTDIR=/opt/wolfssl-5.7.0/ ./scripts/build-ssl.sh
scripts/build-ssl.sh