Skip to content

Commit

Permalink
Merge pull request #888 from Kaiepi/configure
Browse files Browse the repository at this point in the history
Fix Configure.pl version detection
  • Loading branch information
jnthn committed Aug 5, 2018
2 parents 7cab426 + 3bf120a commit ca0ece5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configure.pl
Expand Up @@ -134,7 +134,7 @@ sub uniq {
close($fh);
}
# .git is a file and not a directory in submodule
if (-e '.git' && open(my $GIT, '-|', "git describe")) {
if (-e '.git' && open(my $GIT, '-|', 'git describe --tags "--match=20*"')) {
$VERSION = <$GIT>;
close($GIT);
}
Expand Down

0 comments on commit ca0ece5

Please sign in to comment.