mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-11 00:09:04 -05:00
ignore stderr when checking astyle version
This commit is contained in:
parent
939da08506
commit
37437b0599
@ -22,7 +22,7 @@ fi
|
|||||||
|
|
||||||
min_version="3"
|
min_version="3"
|
||||||
astyle_version_check() {
|
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
|
for ASTYLE in ${QGISSTYLE} $(dirname "$0")/qgisstyle $(dirname "$0")/RelWithDebInfo/qgisstyle astyle
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user