summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authora1346054 <36859588+a1346054@users.noreply.github.com>2021-08-19 13:05:15 +0200
committerPauli <pauli@openssl.org>2021-09-02 04:55:39 +0200
commit473664aafdff1f60db99929bdd43c2a9b26d14cd (patch)
treea96e6d39b30cf6b5b649090f2512cbe836d24734 /util
parentOpenssl fails to compile on Debian with kfreebsd kernels (diff)
downloadopenssl-473664aafdff1f60db99929bdd43c2a9b26d14cd.tar.xz
openssl-473664aafdff1f60db99929bdd43c2a9b26d14cd.zip
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)
Diffstat (limited to 'util')
-rwxr-xr-xutil/check-format.pl2
-rw-r--r--util/echo.pl2
-rwxr-xr-xutil/fips-checksums.sh4
-rw-r--r--util/fix-deprecation2
4 files changed, 5 insertions, 5 deletions
diff --git a/util/check-format.pl b/util/check-format.pl
index 72cf53d189..62471e3c68 100755
--- a/util/check-format.pl
+++ b/util/check-format.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
#
# Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
# Copyright Siemens AG 2019-2020
diff --git a/util/echo.pl b/util/echo.pl
index d90e52129b..8c2616a3bc 100644
--- a/util/echo.pl
+++ b/util/echo.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
use strict;
use warnings;
diff --git a/util/fips-checksums.sh b/util/fips-checksums.sh
index aff8d0ccce..be0453e322 100755
--- a/util/fips-checksums.sh
+++ b/util/fips-checksums.sh
@@ -15,13 +15,13 @@ for f in "$@"; do
| openssl sha256 -r \
| sed -e "s| \\*stdin| $f|"
;;
- *.pl )
+ *.pl )
cat "$f" \
| $HERE/lang-compress.pl 'perl' \
| openssl sha256 -r \
| sed -e "s| \\*stdin| $f|"
;;
- *.S )
+ *.S )
cat "$f" \
| $HERE/lang-compress.pl 'S' \
| openssl sha256 -r \
diff --git a/util/fix-deprecation b/util/fix-deprecation
index a87d4fb9d1..59439eda6d 100644
--- a/util/fix-deprecation
+++ b/util/fix-deprecation
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
use strict;
use warnings;