[Bugzilla] RFC: /usr/bonsaitools/bin/perl -> /usr/bin/perl ?

Tobias Burnus burnus at gmx.de
Fri Sep 27 17:56:40 UTC 2002


Hi,

how about
  -#!/usr/bonsaitools/bin/perl -wT
  +#!/usr/bin/perl -wT

for Bugzilla? I believe the vast majority of bugzilla users uses
/usr/bin/perl and on 99% of the unix systems it lies there. Using a perl
at a different location is rather the exception than the rule and
/usr/local/bin/perl is probably more spread.
This removes the tons of
  M relogin.cgi
when doing a cvs update while on b.m.o it wouldn't harm since the
Bugzilla is anyway modified to a greater extend.


There is yet another posibility which solves /usr/bin vs.
/usr/local/bin:
  eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec
perl -S $0 $
  argv:q'
          if 0;
based on the path instead of using a hard coded perl. But this is
probably not the best solution for a webserver.

Tobias
-- 
This above all: To thine own self be true / And it must follow as
the night the day / Thou canst not then be false to any man.



More information about the developers mailing list