Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix astyle version check for 3.0
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+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" ] |
|
|
} |
|
|
|
|
|