https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105831

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:120e444974e12eb727eea170a3bfd80783e3851f

commit r14-970-g120e444974e12eb727eea170a3bfd80783e3851f
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu May 18 10:18:19 2023 +0100

    contrib: Fix nonportable shell syntax in "test" and "[" commands [PR105831]

    POSIX sh does not support the == for string comparisons, use = instead.

    These contrib scripts all use a bash shebang so == does work, but
    there's no reason they can't just use the more portable form anyway.

            PR bootstrap/105831

    contrib/ChangeLog:

            * bench-stringop: Use = operator instead of ==.
            * repro_fail: Likewise.

    contrib/reghunt/ChangeLog:

            * bin/reg-hunt: Use = operator instead of ==.

Reply via email to