summaryrefslogtreecommitdiff
path: root/Configurations
diff options
context:
space:
mode:
authora1346054 <36859588+a1346054@users.noreply.github.com>2021-08-19 11:05:15 +0000
committerPauli <pauli@openssl.org>2021-09-02 12:56:29 +1000
commitd24b979dbf247ed3eecf973f3ee669a2e3b59e8f (patch)
tree70637c70c55aa8c6b4d88ef485984b4789d03067 /Configurations
parenta0bbd4be5a8231e26322a8e0a3df68ffd1db0edb (diff)
downloadopenssl-new-d24b979dbf247ed3eecf973f3ee669a2e3b59e8f.tar.gz
always use the same perl in $PATH
Different tests may use unexpectedly different versions of perl, depending on whether they hardcode the path to the perl executable or if they resolve the path from the environment. This fixes it so that the same perl is always used. Fix some trailing whitespace and spelling mistakes as well. CLA: trivial Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16362) (cherry picked from commit 473664aafdff1f60db99929bdd43c2a9b26d14cd)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/unix-checker.pm2
-rw-r--r--Configurations/windows-checker.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/Configurations/unix-checker.pm b/Configurations/unix-checker.pm
index b39b0eb7cb..d0f05a0d35 100644
--- a/Configurations/unix-checker.pm
+++ b/Configurations/unix-checker.pm
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
use Config;
diff --git a/Configurations/windows-checker.pm b/Configurations/windows-checker.pm
index 4b7105df33..97303ed7d7 100644
--- a/Configurations/windows-checker.pm
+++ b/Configurations/windows-checker.pm
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
use Config;