[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] [PATCH 2/2] eclass/myspell-r2.eclass: add EAPI 8 support
From:       Ulrich Mueller <ulm () gentoo ! org>
Date:       2021-06-24 23:29:19
Message-ID: uv962c04w () gentoo ! org
[Download RAW message or body]


>>>>> On Thu, 24 Jun 2021, Conrad Kostecki wrote:

> -if [[ ${EAPI:-0} == 7 ]]; then
> +if [[ ${EAPI:-0} -ge 7 ]]; then

EAPI is a string, not a number. I'd suggest using a string comparison,
e.g.:

   if [[ ${EAPI} != [56] ]]; then

(Negative logic, so there won't be any need to update it again for the
next EAPI.)

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic