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:
parent
57ab9844b9
commit
8b72dcbde2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user