tests/libtest: Fix bash syntax error

I think the logic there just worked because we don't actually use
`noarch` RPMs in the vmcheck suite.

Closes: #1248
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-02-14 14:27:06 +00:00 committed by Atomic Bot
parent 57ab9844b9
commit 8b72dcbde2

View File

@ -489,7 +489,7 @@ EOF
# because it'd be overkill to set up mock for this, let's just fool
# rpmbuild using setarch
local buildarch=$arch
if [ "$arch" -eq "noarch" ]; then
if [ "$arch" == "noarch" ]; then
buildarch=$(uname -m)
fi