summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-07-02 16:39:15 +0200
committerRichard Levitte <levitte@openssl.org>2016-07-04 15:40:31 +0200
commitd513369bfa03e92c3289109560da4062b1d3625d (patch)
treee108558e303c7ef257595d70be396f9949b0d934 /tools
parentFix broken loading of client CAs (diff)
downloadopenssl-d513369bfa03e92c3289109560da4062b1d3625d.tar.xz
openssl-d513369bfa03e92c3289109560da4062b1d3625d.zip
perl: Separate compile-time environment from runtime environment
Make it possible to have a separate and different perl command string for installable scripts than we use when building, with the environment variable HASHBANGPERL. Its value default to the same as the environment PERL if it's defined, otherwise '/usr/bin/env perl'. Note: this is only relevant for Unix-like environments. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/c_rehash.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c_rehash.in b/tools/c_rehash.in
index 949e44f075..2fef62784f 100644
--- a/tools/c_rehash.in
+++ b/tools/c_rehash.in
@@ -1,4 +1,4 @@
-#!{- $config{perl} -}
+#!{- $config{hashbangperl} -}
# {- join("\n# ", @autowarntext) -}
# Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.