tools: silence version comparison in get_build_info()
The get_build_info() function uses nvrGreaterOrEqual() to determine how to parse the output from composer-cli. The function prints the result of the comparison but is often used in a loop when waiting for a compose to finish, which makes CI logs very annoying. Silence the version comparison output when called form get_build_info().
This commit is contained in:
parent
f24c6ad952
commit
5130be4ccc
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ function get_build_info() {
|
|||
local fname="$2"
|
||||
if rpm -q --quiet weldr-client; then
|
||||
key=".body${key}"
|
||||
if nvrGreaterOrEqual "weldr-client" "35.6"; then
|
||||
if nvrGreaterOrEqual "weldr-client" "35.6" 2> /dev/null; then
|
||||
key=".[0]${key}"
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue