From a098550f33dd1eead0e72a98a4822ce924841550 Mon Sep 17 00:00:00 2001 From: Nicola Bertoldi Date: Wed, 15 Jan 2014 16:41:19 +0100 Subject: [PATCH] enabled a newr version of astyle --- scripts/other/beautify.perl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/other/beautify.perl b/scripts/other/beautify.perl index e653440dc..8b7c3a7e1 100755 --- a/scripts/other/beautify.perl +++ b/scripts/other/beautify.perl @@ -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); }