From 8e3f92eeb9a1130c6bf86da88b7930da9015350f Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Wed, 16 Oct 2024 16:21:25 -0500 Subject: [PATCH] Include fix from LTS branches for upgrading perl version Use $PERL instead of just perl so that the custom-installed perl is used for the List::Util qw(pairs) check. Ticket: ENT-12140 Changelog: none --- build-scripts/install-dependencies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/install-dependencies b/build-scripts/install-dependencies index 9daa041d4..39a7c68f3 100755 --- a/build-scripts/install-dependencies +++ b/build-scripts/install-dependencies @@ -48,7 +48,7 @@ check_and_install_perl() "too old" PERL_OK="no" fi - if ! perl -e 'use List::Util qw(pairs);'; then + if ! $PERL -e 'use List::Util qw(pairs);'; then echo "$PERL has List::Util that does not export pairs. Needs to be at least version 1.29 for OpenSSL version 3.3.2." PERL_OK="no" fi