Hi,

I would be happy if the following patch could be applied to util/perlpath.pl.
This way it will be possible to use a perl executable with an other name than
simply 'perl' by calling the script with the full pathname of the executable.

e.g: 'perl5 util/perlpath.pl /opt/bin/perl5'

19,20c19,25
< 
<       $a[0]="#!$ARGV[0]/perl\n";
---
> 
>       if (-d $ARGV[0]) {
>            $a[0]="#!$ARGV[0]/perl\n";
>       }
>       else {
>            $a[0]="#!$ARGV[0]\n";
>       }


regards
Matthias Loepfe

-------------------------------------------------------------------------------
Matthias Loepfe, AdNovum Informatik AG, Roentgenstr. 22, CH-8005 Zurich
Email: [EMAIL PROTECTED]   Voice: +41 1 272 6111   Fax: +41 1 272 6312
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to