Skip to content
Snippets Groups Projects
Commit 83908c63 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Correct handling of -s switch.

parent a8cc4f1e
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ ABOUT_END
}
my $release;
my @servers = ( 'ens-staging1', 'ens-staging2' );
my @servers;
my $master = 'ens-staging1';
my $dbport = '3306';
......@@ -107,6 +107,10 @@ if ( !GetOptions( 'release|r=s' => \$release,
exit();
}
if ( !@servers ) {
@servers = ( 'ens-staging1', 'ens-staging2' );
}
my %species;
my %databases;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment