Skip to content
Permalink
Browse files

Fix astyle version check for 3.0

  • Loading branch information
m-kuhn committed Oct 30, 2017
1 parent 66649b9 commit 48f26e585895520601edcb047e73cefd4c583775
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/astyle.sh
@@ -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" ]
}

0 comments on commit 48f26e5

Please sign in to comment.
You can’t perform that action at this time.