diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1999-06-10 08:13:52 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1999-06-10 08:13:52 +0000 |
commit | 9d9b559ef03e481d2feec5a3a9a28f4a41f8189a (patch) | |
tree | 3083eb734b4f81c174a1c1b1b06503889fd61d68 /Configure | |
parent | 06018c4685c6da61b3efd59aabb1ab7be8d3a552 (diff) |
Fix determination of Perl interpreter: A perl or perl5
_directory_ in $PATH was also accepted as the interpreter.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -753,7 +753,7 @@ sub which my $path; foreach $path (split /:/, $ENV{PATH}) { - if (-x "$path/$name") + if (-f "$path/$name" and -x _) { return "$path/$name" unless ($name eq "perl" and system("$path/$name -e " . '\'exit($]<5.0);\'')); |