Why do the scripts say /usr/bonsaitools/bin/perl instead of /usr/bin/perl or something else?
Mozilla.org uses /usr/bonsaitools/bin/perl, because originally Terry wanted a place to put a version of Perl and other tools that was strictly under his control. We always recommend that, if possible, you keep the path as /usr/bonsaitools/bin/perl, and simply add symlink. This will make upgrading your Bugzilla much easier in the future.
Mozilla.org uses /usr/bonsaitools/bin/perl. The prime rule in making submissions is “don’t break bugzilla.mozilla.org”. If it breaks it, your patch will be reverted faster than you can do a diff. Here’s Terry Weissman’s comment, for some historical context: [This was] purely my own convention. I wanted a place to put a version of Perl and other tools that was strictly under my control for the various webtools, and not subject to anyone else. Edit it to point to whatever you like. We always recommend that, if possible, you keep the path as /usr/bonsaitools/bin/perl, and simply add a /usr/bonsaitools and /usr/bonsaitools/bin directory, then symlink your version of perl to /usr/bonsaitools/bin/perl. This will make upgrading your Bugzilla much easier in the future. Obviously, if you do not have root access to your Bugzilla box, our suggestion is irrelevant. 2. Red Hat Bugzilla This section is no longer up-to-date. Please see the section on “Red Hat Bugzilla” under “Variants” in The Bugzill
Mozilla.org uses /usr/bonsaitools/bin/perl. The prime rule in making submissions is “don’t break bugzilla.mozilla.org”. If it breaks it, your patch will be reverted faster than you can do a diff. Here’s Terry Weissman’s comment, for some historical context: [This was] purely my own convention. I wanted a place to put a version of Perl and other tools that was strictly under my control for the various webtools, and not subject to anyone else. Edit it to point to whatever you like. We always recommend that, if possible, you keep the path as /usr/bonsaitools/bin/perl, and simply add a /usr/bonsaitools and /usr/bonsaitools/bin directory, then symlink your version of perl to /usr/bonsaitools/bin/perl. This will make upgrading your Bugzilla much easier in the future. Obviously, if you do not have root access to your Bugzilla box, our suggestion is irrelevant.
Related Questions
- The first line of Perl scripts on our Unix box should contain #!/bin/perl. What is the proper path to execute perl on the SiteStak?
- Why do the scripts say "/usr/bonsaitools/bin/perl" instead of "/usr/bin/perl" or something else?
- Why do the scripts say /usr/bonsaitools/bin/perl instead of /usr/bin/perl or something else?