205
205
<question id="faq-general-bonsaitools">
207
Why do the scripts say "/usr/bonsaitools/bin/perl" instead of
208
"/usr/bin/perl" or something else?
207
What is <filename>/usr/bonsaitools/bin/perl</filename>?
213
Mozilla.org uses /usr/bonsaitools/bin/perl, because originally
214
Terry wanted a place to put a version of Perl and other tools
215
that was strictly under his control.
218
We always recommend that, if possible, you keep the path
219
as /usr/bonsaitools/bin/perl, and simply add symlink.
220
This will make upgrading
221
your Bugzilla much easier in the future.
212
Bugzilla used to have the path to perl on the shebang line set to
213
<filename>/usr/bonsaitools/bin/perl</filename> because when
214
Terry first started writing the code for mozilla.org he needed a
215
version of Perl and other tools that were completely under his
216
control. This location was abandoned for the 2.18 release in favor
217
of the more sensible <filename>/usr/bin/perl</filename>. If you
218
installed an older verion of Bugzilla and created the symlink we
219
suggested, you can remove it now (provided that you don't have
220
anything else, such as Bonsai, using it and you don't intend to
221
reinstall an older version of Bugzilla).
227
<question id="faq-general-perlpath">
229
My perl is not located at <filename>/usr/bin/perl</filename>, is
230
there an easy way to change it everywhere it needs to be changed?
235
Yes, the following bit of perl magic will change all the shebang
236
lines. Be sure to change <filename>/usr/local/bin/perl</filename>
237
to your path to the perl binary.
240
perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/local/bin/perl@' *cgi *pl
228
246
<question id="faq-general-cookie">