httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: cvs commit: apache-2.0/src/support apxs.pl
Date Fri, 05 May 2000 07:59:27 GMT

In article <3911D3FD.C443B651@Golux.Com> you wrote:

>>   --- apxs.pl   2000/03/31 09:42:55     1.5
>>   +++ apxs.pl   2000/05/04 19:42:57     1.6
>>   @@ -1,4 +1,4 @@
>>   -#!/usr/local/bin/perl
>>   +#!/usr/bin/perl
> 
> I'm not at all sure I agree with this particular change.  In fact,
> I'm sure I don't like it.

Why are people complaining about this she-bang line? "/usr/bin/perl" is
as incorrect as "/usr/local/bin/perl" there. The apxs.pl is a _source_
and should never be used directly (nor installed directly). Instead the
source should be adjusted and written to apxs (no extension) instead.
And in this adjustment the she-bang line should be changed. At least
that's what Apache 1.3 did and what I still find reasonable. So I
suggest to use #!perl or #!%PERL% or whatever similar in the apxs.pl, it
is clear that this is a source file which shouldn't be used directly.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message