Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
9a683d64
Commit
9a683d64
authored
Aug 23, 2012
by
Matthieu Muffato
Browse files
Added a "skip_dump" parameter to ease the restoration of a dump
parent
ec736411
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm
modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm
+4
-2
No files found.
modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm
View file @
9a683d64
...
...
@@ -117,8 +117,10 @@ sub run {
);
print
"
$cmd
\n
"
if
$self
->
debug
;
if
(
my
$return_value
=
system
(
$cmd
))
{
die
"
system(
$cmd
) failed:
$return_value
";
unless
(
param
('
skip_dump
'))
{
if
(
my
$return_value
=
system
(
$cmd
))
{
die
"
system(
$cmd
) failed:
$return_value
";
}
}
}
...
...
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