From: Wei Liu Subject: Re: [OSSTEST PATCH v2 05/12] mfi-common: create build-$arch-xsm job Date: Fri, 10 Oct 2014 16:38:10 +0100 Message-ID: <20141010153810.GA12970@zion.uk.xensource.com> References: <1411592677-2632-1-git-send-email-wei.liu2@citrix.com> <1411592677-2632-6-git-send-email-wei.liu2@citrix.com> <21559.64532.714496.381456@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <21559.64532.714496.381456@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: dgdegra@tycho.nsa.gov, Wei Liu , ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, Oct 10, 2014 at 04:32:36PM +0100, Ian Jackson wrote: > Wei Liu writes ("[OSSTEST PATCH v2 05/12] mfi-common: create build-$arch-xsm job"): > > Signed-off-by: Wei Liu > > + for xsm in $test_xsm; do > > + if [ x$xsm = xy ] ; then > > + xsm_suffix="-xsm" > > + enable_xsm=y > > + else > > + xsm_suffix="" > > + enable_xsm=n > > + fi > > Why not > for enable_xsm in ... > and do away with one of the variables ? > > And that if would probably be clearer as a case. > No problem. Wei