Don't hard-code path to Perl interpreter on shebang line of Configure
authorRalf S. Engelschall <rse@openssl.org>
Thu, 25 Feb 1999 08:48:52 +0000 (08:48 +0000)
committerRalf S. Engelschall <rse@openssl.org>
Thu, 25 Feb 1999 08:48:52 +0000 (08:48 +0000)
script. Instead use the usual Shell->Perl transition trick.

CHANGES
Configure

diff --git a/CHANGES b/CHANGES
index 19bd0194011cfc6b8e18d9c591f3f077407ab6c5..684f8f750a62aa4413b6eb791c009c75a694fa6f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,10 @@
 
  Changes between 0.9.1c and 0.9.2
 
+  *) Don't hard-code path to Perl interpreter on shebang line of Configure
+     script. Instead use the usual Shell->Perl transition trick.
+     [Ralf S. Engelschall]
+
   *) Make `openssl x509 -noout -modulus' functional also for DSA certificates
      (in addition to RSA certificates) to match the behaviour of `openssl dsa
      -noout -modulus' as it's already the case for `openssl rsa -noout
index 6f2ef0f04e099c0884c7e81afe72546b5fc5f26f..91b3019a3643d939e0b63464e3c4fe6e074dd3e2 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1,4 +1,9 @@
-#!/usr/local/bin/perl -w
+:
+eval 'exec perl $0 -S ${1+"$@"}'
+    if $running_under_some_shell;
+##
+##  Configure -- OpenSSL source tree configuration script
+##
 
 require 5.000;
 use strict;