Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: Ulrich Mueller <ulm@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] git-r3.eclass: Support EGIT_SUBMODULES to filter used submodules, #497164
Date: Thu, 26 May 2016 08:12:30
Message-Id: 20160526101216.757d720c.mgorny@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] git-r3.eclass: Support EGIT_SUBMODULES to filter used submodules, #497164 by Ulrich Mueller
1 On Mon, 23 May 2016 22:54:09 +0200
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > >>>>> On Mon, 23 May 2016, Michał Górny wrote:
5 >
6 > > +if [[ ${EGIT_SUBMODULES[@]+1} && $(declare -p EGIT_SUBMODULES) != "declare -a"* ]]
7 > > +then
8 > > + die 'EGIT_SUBMODULES must be an array.'
9 > > +fi
10 >
11 > Must this test be in global scope?
12
13 I can move it somewhere else, I guess.
14
15 --
16 Best regards,
17 Michał Górny
18 <http://dev.gentoo.org/~mgorny/>