Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
9665c0e6
Commit
9665c0e6
authored
Mar 27, 2003
by
jake%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 196433 - Bugzilla now uses /usr/bin/perl as the shebang line
r=justdave a=justdave
parent
d97f9678
Hide whitespace changes
Inline
Side-by-side
Showing
56 changed files
with
116 additions
and
157 deletions
+116
-157
UPGRADING-pre-2.8
UPGRADING-pre-2.8
+2
-2
attachment.cgi
attachment.cgi
+1
-1
buglist.cgi
buglist.cgi
+1
-1
checksetup.pl
checksetup.pl
+1
-1
colchange.cgi
colchange.cgi
+1
-1
collectstats.pl
collectstats.pl
+1
-1
mysqld-watcher.pl
contrib/mysqld-watcher.pl
+1
-1
createaccount.cgi
createaccount.cgi
+1
-1
describecomponents.cgi
describecomponents.cgi
+1
-1
describekeywords.cgi
describekeywords.cgi
+1
-1
makedocs.pl
docs/makedocs.pl
+1
-1
faq.sgml
docs/sgml/faq.sgml
+30
-12
installation.sgml
docs/sgml/installation.sgml
+1
-36
faq.xml
docs/xml/faq.xml
+30
-12
installation.xml
docs/xml/installation.xml
+1
-36
doeditparams.cgi
doeditparams.cgi
+1
-1
duplicates.cgi
duplicates.cgi
+1
-1
editcomponents.cgi
editcomponents.cgi
+1
-1
editflagtypes.cgi
editflagtypes.cgi
+1
-1
editgroups.cgi
editgroups.cgi
+1
-1
editkeywords.cgi
editkeywords.cgi
+1
-1
editmilestones.cgi
editmilestones.cgi
+1
-1
editparams.cgi
editparams.cgi
+1
-1
editproducts.cgi
editproducts.cgi
+1
-1
editusers.cgi
editusers.cgi
+1
-1
editversions.cgi
editversions.cgi
+1
-1
enter_bug.cgi
enter_bug.cgi
+1
-1
importxml.pl
importxml.pl
+1
-1
index.cgi
index.cgi
+1
-1
long_list.cgi
long_list.cgi
+1
-1
move.pl
move.pl
+1
-1
page.cgi
page.cgi
+1
-1
post_bug.cgi
post_bug.cgi
+1
-1
process_bug.cgi
process_bug.cgi
+1
-1
query.cgi
query.cgi
+1
-1
queryhelp.cgi
queryhelp.cgi
+1
-1
quips.cgi
quips.cgi
+1
-1
relogin.cgi
relogin.cgi
+1
-1
report.cgi
report.cgi
+1
-1
reports.cgi
reports.cgi
+1
-1
request.cgi
request.cgi
+1
-1
runtests.pl
runtests.pl
+1
-1
runtests.sh
runtests.sh
+1
-8
sanitycheck.cgi
sanitycheck.cgi
+1
-1
show_activity.cgi
show_activity.cgi
+1
-1
show_bug.cgi
show_bug.cgi
+1
-1
showattachment.cgi
showattachment.cgi
+1
-1
showdependencygraph.cgi
showdependencygraph.cgi
+1
-1
showdependencytree.cgi
showdependencytree.cgi
+1
-1
sidebar.cgi
sidebar.cgi
+1
-1
002goodperl.t
t/002goodperl.t
+2
-2
token.cgi
token.cgi
+1
-1
userprefs.cgi
userprefs.cgi
+1
-1
votes.cgi
votes.cgi
+1
-1
whineatnews.pl
whineatnews.pl
+1
-1
xml.cgi
xml.cgi
+1
-1
No files found.
UPGRADING-pre-2.8
View file @
9665c0e6
...
...
@@ -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:
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
use diagnostics;
use strict;
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
database, you can run the following perl script (which is slow and ugly, but
does work:)
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
use diagnostics;
use strict;
require "globals.pl";
...
...
attachment.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
buglist.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
checksetup.pl
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
colchange.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
collectstats.pl
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
contrib/mysqld-watcher.pl
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
...
...
createaccount.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
describecomponents.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
describekeywords.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
docs/makedocs.pl
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
docs/sgml/faq.sgml
View file @
9665c0e6
...
...
@@ -204,25 +204,43 @@
<qandaentry>
<question id="faq-general-bonsaitools">
<para>
Why do the scripts say "/usr/bonsaitools/bin/perl" instead of
"/usr/bin/perl" or something else?
What is <filename>/usr/bonsaitools/bin/perl</filename>?
</para>
</question>
<answer>
<para>
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.
</para>
<para>
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.
</para>
Bugzilla used to have the path to perl on the shebang line set to
<filename>/usr/bonsaitools/bin/perl</filename> because when
Terry first started writing the code for mozilla.org he needed a
version of Perl and other tools that were completely under his
control. This location was abandoned for the 2.18 release in favor
of the more sensible <filename>/usr/bin/perl</filename>. If you
installed an older verion of Bugzilla and created the symlink we
suggested, you can remove it now (provided that you don't have
anything else, such as Bonsai, using it and you don't intend to
reinstall an older version of Bugzilla).
</para>
</answer>
</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>
<question id="faq-general-cookie">
...
...
docs/sgml/installation.sgml
View file @
9665c0e6
...
...
@@ -522,41 +522,6 @@
until you run the post-install
<filename>checksetup.pl</filename>
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>
...
...
@@ -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>
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
perl instead of <filename>/usr/b
onsaitools/b
in/perl</filename>.
perl instead of <filename>/usr/bin/perl</filename>.
</para>
</note>
...
...
docs/xml/faq.xml
View file @
9665c0e6
...
...
@@ -204,25 +204,43 @@
<qandaentry>
<question
id=
"faq-general-bonsaitools"
>
<para>
Why do the scripts say "/usr/bonsaitools/bin/perl" instead of
"/usr/bin/perl" or something else?
What is
<filename>
/usr/bonsaitools/bin/perl
</filename>
?
</para>
</question>
<answer>
<para>
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.
</para>
<para>
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.
</para>
Bugzilla used to have the path to perl on the shebang line set to
<filename>
/usr/bonsaitools/bin/perl
</filename>
because when
Terry first started writing the code for mozilla.org he needed a
version of Perl and other tools that were completely under his
control. This location was abandoned for the 2.18 release in favor
of the more sensible
<filename>
/usr/bin/perl
</filename>
. If you
installed an older verion of Bugzilla and created the symlink we
suggested, you can remove it now (provided that you don't have
anything else, such as Bonsai, using it and you don't intend to
reinstall an older version of Bugzilla).
</para>
</answer>
</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>
<question
id=
"faq-general-cookie"
>
...
...
docs/xml/installation.xml
View file @
9665c0e6
...
...
@@ -522,41 +522,6 @@
until you run the post-install
<filename>
checksetup.pl
</filename>
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>
...
...
@@ -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>
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
perl instead of
<filename>
/usr/b
onsaitools/b
in/perl
</filename>
.
perl instead of
<filename>
/usr/bin/perl
</filename>
.
</para>
</note>
...
...
doeditparams.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
duplicates.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
editcomponents.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
editflagtypes.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
editgroups.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
editkeywords.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
editmilestones.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
...
...
editparams.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
editproducts.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
editusers.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
editversions.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
enter_bug.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
importxml.pl
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
index.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
long_list.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
move.pl
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
page.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
post_bug.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
process_bug.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
query.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
queryhelp.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
quips.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
relogin.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
report.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
reports.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
request.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
runtests.pl
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
runtests.sh
View file @
9665c0e6
#!/bin/sh
TEST_VERBOSE
=
0
for
f
in
$*
;
do
if
[
"
$f
"
=
"--verbose"
]
;
then
TEST_VERBOSE
=
"--verbose"
fi
done
/usr/bonsaitools/bin/perl runtests.pl
${
TEST_VERBOSE
}
/usr/bin/perl runtests.pl
$*
sanitycheck.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
show_activity.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
show_bug.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
showattachment.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
showdependencygraph.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
showdependencytree.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
sidebar.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
t/002goodperl.t
View file @
9665c0e6
...
...
@@ -48,7 +48,7 @@ foreach my $file (@testitems) {
$file
=~
m/.*\.(.*)/
;
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"
);
}
else
{
my
$flags
;
...
...
@@ -71,7 +71,7 @@ foreach my $file (@testitems) {
next
;
}
if
(
$file_line1
=~
m
#/usr/b
onsaitools/b
in/perl -$flags#) {
if
(
$file_line1
=~
m
#/usr/bin/perl -$flags#) {
ok
(
1
,
"$file uses -$flags"
);
}
else
{
ok
(
0
,
"$file is MISSING -$flags --WARNING"
);
...
...
token.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
userprefs.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
votes.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
whineatnews.pl
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -w
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
xml.cgi
View file @
9665c0e6
#!/usr/b
onsaitools/b
in/perl -wT
#!/usr/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment