mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-10-26 11:28:48 +03:00
enabled a newr version of astyle
This commit is contained in:
parent
47bece6eac
commit
a098550f33
@ -11,8 +11,8 @@ my $version = `astyle --version 2> /dev/stdout`;
|
||||
chomp($version);
|
||||
print STDERR "version=$version";
|
||||
|
||||
if ($version ne "Artistic Style Version 2.01") {
|
||||
print STDERR "\nMust be astyle version 2.01. Quitting\n";
|
||||
if ($version ne "Artistic Style Version 2.01" && $version ne "Artistic Style Version 2.02.1") {
|
||||
print STDERR "\nMust be astyle version 2.01 or 2.02.1. Quitting\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user