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
8ff02d6a
Commit
8ff02d6a
authored
May 14, 2015
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1163248: checksetup.pl is unable to run if File::Slurp is missing
r=dkl a=glob
parent
ccda2ce4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
Requirements.pm
Bugzilla/Install/Requirements.pm
+8
-3
strings.txt.pl
template/en/default/setup/strings.txt.pl
+1
-0
No files found.
Bugzilla/Install/Requirements.pm
View file @
8ff02d6a
...
@@ -18,13 +18,14 @@ use strict;
...
@@ -18,13 +18,14 @@ use strict;
use
warnings
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::Install::
Util
qw(install_string bin_loc
use
Bugzilla::Install::
Util
qw(install_string bin_loc
success
extension_requirement_packages)
;
extension_requirement_packages)
;
use
File::
Slurp
;
use
List::
Util
qw(max)
;
use
List::
Util
qw(max)
;
use
Term::
ANSIColor
;
use
Term::
ANSIColor
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
use
autodie
;
our
@EXPORT
=
qw(
our
@EXPORT
=
qw(
REQUIRED_MODULES
REQUIRED_MODULES
OPTIONAL_MODULES
OPTIONAL_MODULES
...
@@ -907,7 +908,11 @@ sub export_cpanfile {
...
@@ -907,7 +908,11 @@ sub export_cpanfile {
}
}
# Write out the cpanfile to the document root
# Write out the cpanfile to the document root
write_file
(
bz_locations
()
->
{
'libpath'
}
.
'/cpanfile'
,
\
$cpanfile
);
my
$file
=
bz_locations
()
->
{
'libpath'
}
.
'/cpanfile'
;
open
(
my
$fh
,
'>'
,
$file
);
print
$fh
$cpanfile
;
close
$fh
;
success
(
install_string
(
'cpanfile_created'
,
{
file
=>
$file
}));
}
}
1
;
1
;
...
...
template/en/default/setup/strings.txt.pl
View file @
8ff02d6a
...
@@ -62,6 +62,7 @@ EOT
...
@@ -62,6 +62,7 @@ EOT
Re
-
run
checksetup
.
pl
in
interactive
mode
(
without
an
'answers'
file
)
Re
-
run
checksetup
.
pl
in
interactive
mode
(
without
an
'answers'
file
)
to
continue
.
to
continue
.
END
END
cpanfile_created
=>
"##file## created"
,
cpan_bugzilla_home
=>
cpan_bugzilla_home
=>
"WARNING: Using the Bugzilla directory as the CPAN home."
,
"WARNING: Using the Bugzilla directory as the CPAN home."
,
db_enum_setup
=>
"Setting up choices for standard drop-down fields:"
,
db_enum_setup
=>
"Setting up choices for standard drop-down fields:"
,
...
...
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