Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2] eclass/kernel-2.eclass: Remove use of tr in global scope
Date: Thu, 31 Aug 2017 17:51:17
Message-Id: 22952.19595.18104.798022@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] [PATCH v2] eclass/kernel-2.eclass: Remove use of tr in global scope by Mike Pagano
1 >>>>> On Thu, 31 Aug 2017, Mike Pagano wrote:
2
3 > + declare -l LOOP_ARCH_L=${LOOP_ARCH}
4 > [...]
5 > + declare -u TC_ARCH_KERNEL=$(tc-arch-kernel);
6
7 This is not legal in EAPI 5 or earlier, because the -l and -u options
8 of declare did not exist in bash 3.2. So it is no improvement over
9 using ,, and ^^ operators.
10
11 Ulrich