On Thu, Jan 14, 2021 at 5:45 AM Diego Sueiro <diego.sue...@arm.com> wrote:

> >-----Original Message-----
> >From: Otavio Salvador <otavio.salva...@ossystems.com.br>
> >Sent: 14 January 2021 11:57
> >To: Diego Sueiro <diego.sue...@arm.com>
> >Cc: Patches and discussions about the oe-core layer <openembedded-
> >c...@lists.openembedded.org>; Purdie, Richard
> ><richard.pur...@linuxfoundation.org>
> >Subject: Re: [OE-core] [PATCH 1/2] classes: Introduce intermediate-
> >deploy.bbclass
> >
> >Em qui., 14 de jan. de 2021 às 05:06, Diego Sueiro <diego.sue...@arm.com>
> >escreveu:
> >>
> >> The intermediate-deploy class is to be inherited by recipes that
> >> install intermediate artifacts which are not present in the filesystem
> >> to be further processed by other recipes.
> >>
> >> The INTERMEDIATE_DEPLOY_DIRS variable is a space separated list of
> >> dirnames from ${D} which include the intermediate artifacts.
> >>
> >> Change-Id: I314987587c1cf0e4cdb28fbf11463f1feb37504b
> >...
> >> +        for dir in ${INTERMEDIATE_DEPLOY_DIRS}; do
> >> +            dir="${dir%/}"
> >> +            dir="${dir#/}"
> >
> >Does this work with dash? I believe this is bashism.
> >
>
> I think so since on my host I have "/bin/sh -> dash".
>

This is not a bashism, but is POSIX. See
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
at the end of the parameter expansion section.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146692): 
https://lists.openembedded.org/g/openembedded-core/message/146692
Mute This Topic: https://lists.openembedded.org/mt/79671196/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to