summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-25 22:31:49 +0000
committerBodo Möller <bodo@openssl.org>1999-05-25 22:31:49 +0000
commit288d2fb959346d5a64dad831c7a8689d495a5045 (patch)
tree9bcd1f2bfbdda43ac5174e661eaec66988737809 /Configure
parent6720e9472f034c531d964c888fe72f5268df8762 (diff)
Set #!... path to Perl in apps/der_chop automatically.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/Configure b/Configure
index 390e21e038..60b1167897 100755
--- a/Configure
+++ b/Configure
@@ -650,6 +650,12 @@ if($IsWindows) {
# Run "make depend" manually if you want to be able to delete
# the source code files of ciphers you left out.
&dofile("tools/c_rehash",$openssldir,'^DIR=', 'DIR=%s',);
+ if ( $perl =~ m@^/@) {
+ &dofile("apps/der_chop",$perl,'^#!/', '#!%s');
+ } else {
+ # No path for Perl known ...
+ &dofile("apps/der_chop",'/usr/local/bin/perl','^#!/', '#!%s');
+ }
}
my $pwd;