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