>>>>> On Fri, 20 May 2022, Florian Schmaus wrote: >> +if [ ${#RUBY_FAKEGEM_EXTENSIONS[@]} -ge 1 ]; then >> + BDEPEND+=" virtual/pkgconfig " >> +fi
> Not sure if we have a policy on this, We do. :) https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0101 "Use bash conditions [[ ... ]] rather than POSIX-ish [ ... ] or test builtin." https://devmanual.gentoo.org/tools-reference/bash/index.html#single-versus-double-brackets-in-bash "Important: The [[ ]] form is generally safer than [ ] and should be used in all new code." > but how about using bash's extended test syntax, i.e., [[ … ]] (which > the eclass already uses in a few places).
signature.asc
Description: PGP signature