Skip to content

Commit

Permalink
Fix astyle version check for 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 30, 2017
1 parent 66649b9 commit 48f26e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/astyle.sh
Expand Up @@ -14,8 +14,9 @@
# #
###########################################################################

min_version="3.0.0"
min_version="3"
astyle_version_check() {
$1 --version
[ `printf "$($1 --version | cut -d ' ' -f4)\n$min_version" | sort -V | head -n1` = "$min_version" ]
}

Expand Down

0 comments on commit 48f26e5

Please sign in to comment.