Skip to content
Snippets Groups Projects
Commit 1abdfaaa authored by Magali Ruffier's avatar Magali Ruffier
Browse files

remove any accidental spaces at the end of sources rather than dying horribly

parent 36563be7
No related branches found
No related tags found
No related merge requests found
......@@ -171,6 +171,7 @@ foreach my $species_section ( sort( $config->GroupMembers('species') ) )
sort( split( /\n/, $config->val( $species_section, 'source' ) ) ) )
{
my $source_section = sprintf( "source %s", $source_name );
$source_section =~ s/\s$//;
if ( !exists( $source_ids{$source_section} ) ) {
die( sprintf( "Can not find source section '[%s]'\n"
......
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