D.2. The setperl.csh Utility

You can use the "setperl.csh" utility to quickly and easily change the path to perl on all your Bugzilla files. This is a C-shell script; if you do not have "csh" or "tcsh" in the search path on your system, it will not work!

  1. Download the "setperl.csh" utility to your Bugzilla directory and make it executable.

    1. bash# cd /your/path/to/bugzilla

    2. bash# wget -O setperl.csh 'http://bugzilla.mozilla.org/showattachment.cgi?attach_id=10795'

    3. bash# chmod u+x setperl.csh

  2. Prepare (and fix) Bugzilla file permissions.

    1. bash# chmod u+w *

    2. bash# chmod u+x duplicates.cgi

    3. bash# chmod a-x bug_status.html

  3. Run the script:

    bash# ./setperl.csh /your/path/to/perl

    Example D-1. Using Setperl to set your perl path

    bash# ./setperl.csh /usr/bin/perl