[Libosinfo] [osinfo-db-tools PATCH] configure: Use "==" in tests instead of "="
Eric Blake
eblake at redhat.com
Tue Apr 23 13:28:00 UTC 2019
On 4/23/19 2:34 AM, Fabiano Fidêncio wrote:
> Altough there's no issue on using "=" with the test, let's standardize
> on a single way to compare values, using "==".
>
> With that in mind, let's change "xHAVE_REQUESTS" = "xyes" to
> "xHAVE_REQUESTS" == "xyes" instead.
NACK. 'test .. == ..' is a bashism, the POSIX spelling is 'test .. =
..'. Various versions of dash fail on the bashism.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20190423/51ddd506/attachment.sig>
More information about the Libosinfo
mailing list