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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
1765489b
Commit
1765489b
authored
Jun 24, 2000
by
endico%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
find the path this script lives in and add it to @INC and to the current working directory.
parent
8f81be2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
importxml.pl
importxml.pl
+10
-1
No files found.
importxml.pl
View file @
1765489b
...
@@ -35,9 +35,18 @@ require "CGI.pl";
...
@@ -35,9 +35,18 @@ require "CGI.pl";
require
"globals.pl"
;
require
"globals.pl"
;
$::lockcount
=
0
;
$::lockcount
=
0
;
# figure out which path this script lives in. Set the current path to
# this and add it to @INC so this will work when run as part of mail
# alias by the mailer daemon
my
$path
=
$0
;
$path
=~
s
#(.*)/[^/]+#$1#;
chdir
$path
;
use
lib
(
$path
);
GetVersionTable
();
GetVersionTable
();
ConnectToDatabase
();
ConnectToDatabase
();
sub
sillyness
{
sub
sillyness
{
my
$zz
;
my
$zz
;
$zz
=
%::
components
;
$zz
=
%::
components
;
...
@@ -182,7 +191,7 @@ if (defined $tree->[1][0]->{'urlbase'}) {
...
@@ -182,7 +191,7 @@ if (defined $tree->[1][0]->{'urlbase'}) {
my
$bugqty
=
(
$#
{
@
{
$tree
}
->
[
1
]}
+
1
-
3
)
/
4
;
my
$bugqty
=
(
$#
{
@
{
$tree
}
->
[
1
]}
+
1
-
3
)
/
4
;
my
$log
=
"Import
ing
$bugqty bug(s) from $urlbase,\n sent by $exporter.\n"
;
my
$log
=
"Import
ed
$bugqty bug(s) from $urlbase,\n sent by $exporter.\n"
;
for
(
my
$k
=
1
;
$k
<=
$bugqty
;
$k
++
)
{
for
(
my
$k
=
1
;
$k
<=
$bugqty
;
$k
++
)
{
my
$cur
=
$k
*
4
;
my
$cur
=
$k
*
4
;
...
...
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