Skip to content
Permalink
Browse files

fix astyle version check

  • Loading branch information
jef-n committed Apr 24, 2018
1 parent 4ad3531 commit dee284fe974560a3c9723e35123a02c7c9d30b8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/astyle.sh
@@ -22,7 +22,7 @@ fi

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

for ASTYLE in ${QGISSTYLE} $(dirname $0)/qgisstyle $(dirname $0)/RelWithDebInfo/qgisstyle astyle

0 comments on commit dee284f

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