mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 196433 - Bugzilla now uses /usr/bin/perl as the shebang line
r=justdave a=justdave
This commit is contained in:
parent
f0404b0df8
commit
3c915014e3
@ -73,7 +73,7 @@ was. Nothing uses this yet, but it still should be recorded.
|
|||||||
|
|
||||||
You should also run this script to populate the new field:
|
You should also run this script to populate the new field:
|
||||||
|
|
||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
use diagnostics;
|
use diagnostics;
|
||||||
use strict;
|
use strict;
|
||||||
require "globals.pl";
|
require "globals.pl";
|
||||||
@ -149,7 +149,7 @@ that submitted the text. This bug has been fixed, so that no further changes
|
|||||||
like that will happen. But to fix problems that have already crept into your
|
like that will happen. But to fix problems that have already crept into your
|
||||||
database, you can run the following perl script (which is slow and ugly, but
|
database, you can run the following perl script (which is slow and ugly, but
|
||||||
does work:)
|
does work:)
|
||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
use diagnostics;
|
use diagnostics;
|
||||||
use strict;
|
use strict;
|
||||||
require "globals.pl";
|
require "globals.pl";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
# License Version 1.1 (the "License"); you may not use this file
|
# License Version 1.1 (the "License"); you may not use this file
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -204,25 +204,43 @@
|
|||||||
<qandaentry>
|
<qandaentry>
|
||||||
<question id="faq-general-bonsaitools">
|
<question id="faq-general-bonsaitools">
|
||||||
<para>
|
<para>
|
||||||
Why do the scripts say "/usr/bonsaitools/bin/perl" instead of
|
What is <filename>/usr/bonsaitools/bin/perl</filename>?
|
||||||
"/usr/bin/perl" or something else?
|
|
||||||
</para>
|
</para>
|
||||||
</question>
|
</question>
|
||||||
<answer>
|
<answer>
|
||||||
<para>
|
<para>
|
||||||
Mozilla.org uses /usr/bonsaitools/bin/perl, because originally
|
Bugzilla used to have the path to perl on the shebang line set to
|
||||||
Terry wanted a place to put a version of Perl and other tools
|
<filename>/usr/bonsaitools/bin/perl</filename> because when
|
||||||
that was strictly under his control.
|
Terry first started writing the code for mozilla.org he needed a
|
||||||
</para>
|
version of Perl and other tools that were completely under his
|
||||||
<para>
|
control. This location was abandoned for the 2.18 release in favor
|
||||||
We always recommend that, if possible, you keep the path
|
of the more sensible <filename>/usr/bin/perl</filename>. If you
|
||||||
as /usr/bonsaitools/bin/perl, and simply add symlink.
|
installed an older verion of Bugzilla and created the symlink we
|
||||||
This will make upgrading
|
suggested, you can remove it now (provided that you don't have
|
||||||
your Bugzilla much easier in the future.
|
anything else, such as Bonsai, using it and you don't intend to
|
||||||
</para>
|
reinstall an older version of Bugzilla).
|
||||||
|
</para>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
<qandaentry>
|
||||||
|
<question id="faq-general-perlpath">
|
||||||
|
<para>
|
||||||
|
My perl is not located at <filename>/usr/bin/perl</filename>, is
|
||||||
|
there an easy way to change it everywhere it needs to be changed?
|
||||||
|
</para>
|
||||||
|
</question>
|
||||||
|
<answer>
|
||||||
|
<para>
|
||||||
|
Yes, the following bit of perl magic will change all the shebang
|
||||||
|
lines. Be sure to change <filename>/usr/local/bin/perl</filename>
|
||||||
|
to your path to the perl binary.
|
||||||
|
</para>
|
||||||
|
<programlisting>
|
||||||
|
perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/local/bin/perl@' *cgi *pl
|
||||||
|
</programlisting>
|
||||||
|
</answer>
|
||||||
|
</qandaentry>
|
||||||
|
|
||||||
<qandaentry>
|
<qandaentry>
|
||||||
<question id="faq-general-cookie">
|
<question id="faq-general-cookie">
|
||||||
|
@ -522,41 +522,6 @@
|
|||||||
until you run the post-install
|
until you run the post-install
|
||||||
<filename>checksetup.pl</filename>
|
<filename>checksetup.pl</filename>
|
||||||
script, which locks down your installation.</para>
|
script, which locks down your installation.</para>
|
||||||
|
|
||||||
<para>Lastly, you'll need to set up a symbolic link to
|
|
||||||
<filename>/usr/bonsaitools/bin/perl</filename>
|
|
||||||
for the correct location of your Perl executable (probably
|
|
||||||
<filename>/usr/bin/perl</filename>).
|
|
||||||
Otherwise you must hack all the .cgi files to change where they look
|
|
||||||
for Perl. This can be done using the following Perl one-liner, but
|
|
||||||
I suggest using the symlink approach to avoid upgrade hassles.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<note>
|
|
||||||
<para><quote>Bonsaitools</quote> is the name Terry Weissman, the
|
|
||||||
original author of Bugzilla, created
|
|
||||||
for his suite of webtools at the time he created Bugzilla and several
|
|
||||||
other tools in use at mozilla.org. He created a directory,
|
|
||||||
<filename>/usr/bonsaitools</filename> to house his specific versions
|
|
||||||
of perl and other utilities. This usage is still current at
|
|
||||||
<ulink url="http://bugzilla.mozilla.org/">bugzilla.mozilla.org</ulink>,
|
|
||||||
but in general most other places do not use it. You can either edit
|
|
||||||
the paths at the start of each perl file to the correct location of
|
|
||||||
perl on your system, or simply bow to history and create a
|
|
||||||
<filename>/usr/bonsaitools</filename> and <filename>/usr/bonsaitools/bin
|
|
||||||
</filename> directory, placing a symlink to perl on your system
|
|
||||||
inside <filename>/usr/bonsaitools/bin</filename>
|
|
||||||
</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<programlisting>
|
|
||||||
perl -pi -e 's@#\!/usr/bonsaitools/bin/perl@#\!/usr/bin/perl@' *cgi *pl Bug.pm syncshadowdb
|
|
||||||
</programlisting>
|
|
||||||
|
|
||||||
Change <filename>/usr/bin/perl</filename> to match the location
|
|
||||||
of Perl on your machine.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
@ -1185,7 +1150,7 @@ system("C:\\perl\\bin\\perl", "$webdotbase","-Tpng","-o","$pngfilename","$filena
|
|||||||
url="http://httpd.apache.org/docs-2.0/mod/core.html#scriptinterpretersource">ScriptInterpreterSource</ulink>
|
url="http://httpd.apache.org/docs-2.0/mod/core.html#scriptinterpretersource">ScriptInterpreterSource</ulink>
|
||||||
directive in your Apache config, if you don't do this, you'll have
|
directive in your Apache config, if you don't do this, you'll have
|
||||||
to modify the first line of every script to contain your path to
|
to modify the first line of every script to contain your path to
|
||||||
perl instead of <filename>/usr/bonsaitools/bin/perl</filename>.
|
perl instead of <filename>/usr/bin/perl</filename>.
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
@ -204,25 +204,43 @@
|
|||||||
<qandaentry>
|
<qandaentry>
|
||||||
<question id="faq-general-bonsaitools">
|
<question id="faq-general-bonsaitools">
|
||||||
<para>
|
<para>
|
||||||
Why do the scripts say "/usr/bonsaitools/bin/perl" instead of
|
What is <filename>/usr/bonsaitools/bin/perl</filename>?
|
||||||
"/usr/bin/perl" or something else?
|
|
||||||
</para>
|
</para>
|
||||||
</question>
|
</question>
|
||||||
<answer>
|
<answer>
|
||||||
<para>
|
<para>
|
||||||
Mozilla.org uses /usr/bonsaitools/bin/perl, because originally
|
Bugzilla used to have the path to perl on the shebang line set to
|
||||||
Terry wanted a place to put a version of Perl and other tools
|
<filename>/usr/bonsaitools/bin/perl</filename> because when
|
||||||
that was strictly under his control.
|
Terry first started writing the code for mozilla.org he needed a
|
||||||
</para>
|
version of Perl and other tools that were completely under his
|
||||||
<para>
|
control. This location was abandoned for the 2.18 release in favor
|
||||||
We always recommend that, if possible, you keep the path
|
of the more sensible <filename>/usr/bin/perl</filename>. If you
|
||||||
as /usr/bonsaitools/bin/perl, and simply add symlink.
|
installed an older verion of Bugzilla and created the symlink we
|
||||||
This will make upgrading
|
suggested, you can remove it now (provided that you don't have
|
||||||
your Bugzilla much easier in the future.
|
anything else, such as Bonsai, using it and you don't intend to
|
||||||
</para>
|
reinstall an older version of Bugzilla).
|
||||||
|
</para>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
<qandaentry>
|
||||||
|
<question id="faq-general-perlpath">
|
||||||
|
<para>
|
||||||
|
My perl is not located at <filename>/usr/bin/perl</filename>, is
|
||||||
|
there an easy way to change it everywhere it needs to be changed?
|
||||||
|
</para>
|
||||||
|
</question>
|
||||||
|
<answer>
|
||||||
|
<para>
|
||||||
|
Yes, the following bit of perl magic will change all the shebang
|
||||||
|
lines. Be sure to change <filename>/usr/local/bin/perl</filename>
|
||||||
|
to your path to the perl binary.
|
||||||
|
</para>
|
||||||
|
<programlisting>
|
||||||
|
perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/local/bin/perl@' *cgi *pl
|
||||||
|
</programlisting>
|
||||||
|
</answer>
|
||||||
|
</qandaentry>
|
||||||
|
|
||||||
<qandaentry>
|
<qandaentry>
|
||||||
<question id="faq-general-cookie">
|
<question id="faq-general-cookie">
|
||||||
|
@ -522,41 +522,6 @@
|
|||||||
until you run the post-install
|
until you run the post-install
|
||||||
<filename>checksetup.pl</filename>
|
<filename>checksetup.pl</filename>
|
||||||
script, which locks down your installation.</para>
|
script, which locks down your installation.</para>
|
||||||
|
|
||||||
<para>Lastly, you'll need to set up a symbolic link to
|
|
||||||
<filename>/usr/bonsaitools/bin/perl</filename>
|
|
||||||
for the correct location of your Perl executable (probably
|
|
||||||
<filename>/usr/bin/perl</filename>).
|
|
||||||
Otherwise you must hack all the .cgi files to change where they look
|
|
||||||
for Perl. This can be done using the following Perl one-liner, but
|
|
||||||
I suggest using the symlink approach to avoid upgrade hassles.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<note>
|
|
||||||
<para><quote>Bonsaitools</quote> is the name Terry Weissman, the
|
|
||||||
original author of Bugzilla, created
|
|
||||||
for his suite of webtools at the time he created Bugzilla and several
|
|
||||||
other tools in use at mozilla.org. He created a directory,
|
|
||||||
<filename>/usr/bonsaitools</filename> to house his specific versions
|
|
||||||
of perl and other utilities. This usage is still current at
|
|
||||||
<ulink url="http://bugzilla.mozilla.org/">bugzilla.mozilla.org</ulink>,
|
|
||||||
but in general most other places do not use it. You can either edit
|
|
||||||
the paths at the start of each perl file to the correct location of
|
|
||||||
perl on your system, or simply bow to history and create a
|
|
||||||
<filename>/usr/bonsaitools</filename> and <filename>/usr/bonsaitools/bin
|
|
||||||
</filename> directory, placing a symlink to perl on your system
|
|
||||||
inside <filename>/usr/bonsaitools/bin</filename>
|
|
||||||
</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<programlisting>
|
|
||||||
perl -pi -e 's@#\!/usr/bonsaitools/bin/perl@#\!/usr/bin/perl@' *cgi *pl Bug.pm syncshadowdb
|
|
||||||
</programlisting>
|
|
||||||
|
|
||||||
Change <filename>/usr/bin/perl</filename> to match the location
|
|
||||||
of Perl on your machine.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
@ -1185,7 +1150,7 @@ system("C:\\perl\\bin\\perl", "$webdotbase","-Tpng","-o","$pngfilename","$filena
|
|||||||
url="http://httpd.apache.org/docs-2.0/mod/core.html#scriptinterpretersource">ScriptInterpreterSource</ulink>
|
url="http://httpd.apache.org/docs-2.0/mod/core.html#scriptinterpretersource">ScriptInterpreterSource</ulink>
|
||||||
directive in your Apache config, if you don't do this, you'll have
|
directive in your Apache config, if you don't do this, you'll have
|
||||||
to modify the first line of every script to contain your path to
|
to modify the first line of every script to contain your path to
|
||||||
perl instead of <filename>/usr/bonsaitools/bin/perl</filename>.
|
perl instead of <filename>/usr/bin/perl</filename>.
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
TEST_VERBOSE=0
|
/usr/bin/perl runtests.pl $*
|
||||||
for f in $*; do
|
|
||||||
if [ "$f" = "--verbose" ] ; then
|
|
||||||
TEST_VERBOSE="--verbose"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
/usr/bonsaitools/bin/perl runtests.pl ${TEST_VERBOSE}
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -48,7 +48,7 @@ foreach my $file (@testitems) {
|
|||||||
$file =~ m/.*\.(.*)/;
|
$file =~ m/.*\.(.*)/;
|
||||||
my $ext = $1;
|
my $ext = $1;
|
||||||
|
|
||||||
if ($file_line1 !~ /\/usr\/bonsaitools\/bin\/perl/) {
|
if ($file_line1 !~ m#/usr/bin/perl#) {
|
||||||
ok(1,"$file does not have a shebang");
|
ok(1,"$file does not have a shebang");
|
||||||
} else {
|
} else {
|
||||||
my $flags;
|
my $flags;
|
||||||
@ -71,7 +71,7 @@ foreach my $file (@testitems) {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($file_line1 =~ m#/usr/bonsaitools/bin/perl -$flags#) {
|
if ($file_line1 =~ m#/usr/bin/perl -$flags#) {
|
||||||
ok(1,"$file uses -$flags");
|
ok(1,"$file uses -$flags");
|
||||||
} else {
|
} else {
|
||||||
ok(0,"$file is MISSING -$flags --WARNING");
|
ok(0,"$file is MISSING -$flags --WARNING");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bonsaitools/bin/perl -wT
|
#!/usr/bin/perl -wT
|
||||||
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
||||||
#
|
#
|
||||||
# The contents of this file are subject to the Mozilla Public
|
# The contents of this file are subject to the Mozilla Public
|
||||||
|
Loading…
Reference in New Issue
Block a user