Set #!... path to Perl in apps/der_chop automatically.

This commit is contained in:
Bodo Möller 1999-05-25 22:31:49 +00:00
parent 6720e9472f
commit 288d2fb959
2 changed files with 6 additions and 0 deletions

View File

@ -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;