Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-dev] [PATCH] git-r3.eclass: Support EGIT_SUBMODULES to filter used submodules, #497164
Date: Mon, 23 May 2016 20:54:26
Message-Id: 22339.28145.503540.74975@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] [PATCH] git-r3.eclass: Support EGIT_SUBMODULES to filter used submodules, #497164 by "Michał Górny"
1 >>>>> On Mon, 23 May 2016, Michał Górny wrote:
2
3 > +if [[ ${EGIT_SUBMODULES[@]+1} && $(declare -p EGIT_SUBMODULES) != "declare -a"* ]]
4 > +then
5 > + die 'EGIT_SUBMODULES must be an array.'
6 > +fi
7
8 Must this test be in global scope?
9
10 Ulrich

Replies