Skip to content

Commit

Permalink
Merge pull request #378 from robymetallo/master
Browse files Browse the repository at this point in the history
Updated grep and regexp to fix bug when detecting parallel version
  • Loading branch information
tseemann committed Apr 15, 2019
2 parents 568b7e1 + cf0be46 commit a52a8b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/prokka
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ my $BIDEC = '(\d+\.\d+)'; # pattern of NN.NN for versions that can be compared

my %tools = (
'parallel' => {
GETVER => "parallel --version | grep '^GNU parallel 2'",
REGEXP => qr/GNU parallel (\d+)/,
GETVER => "parallel --version | grep -E 'parallel 2[0-9]{7}\$'",
REGEXP => qr/parallel (\d+)/,
MINVER => "20130422",
NEEDED => 1,
},
Expand Down

0 comments on commit a52a8b0

Please sign in to comment.