Skip to content
Permalink
Browse files
ignore stderr when checking astyle version
  • Loading branch information
uclaros authored and nyalldawson committed Sep 25, 2022
1 parent 939da08 commit 37437b05992b680c94ab40c780db99ae929e5ecc
Showing 1 changed file with 1 addition and 1 deletion.
@@ -22,7 +22,7 @@ fi

min_version="3"
astyle_version_check() {
[ $(printf "$($1 --version 2>&1 | cut -d ' ' -f4)\\n$min_version" | sort -${SV} | head -n1) = "$min_version" ]
[ $(printf "$($1 --version 2>/dev/null | 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 37437b0

Please sign in to comment.