>>>>> On Wed, 22 Jun 2016, Dan Douglas wrote:

> +             [[
> +                     ( BASH_VERSINFO[0] -ge 4 || EAPI -ge 6 ) &&
> +                     $(declare -p "EGIT_${livevars[idx+1]}" 2>/dev/null) == 
> 'declare -A'*
> +             ]] && ref=EGIT_${livevars[idx+1]}[\$PN]

EAPI is not a number but a string, so don't use arithmetic comparison
to test for it

Also, you cannot use bash 4 features in EAPI 5 or earlier.

Ulrich

Attachment: pgps8eY2GSaRe.pgp
Description: PGP signature

Reply via email to