[OE-core] [PATCH] buildtools-tarball: Change the way the SDK is sanitized

Chris Larson clarson at kergoth.com
Mon Jun 24 17:57:11 UTC 2013


On Mon, Jun 24, 2013 at 9:10 AM, Hatle, Mark <mark.hatle at windriver.com>wrote:

> Stupid phone will only allow me to top post. Anyway, that line was copied
> out of the populate_sdk bbclass. So if it is a bash-ism then it needs to be
> fixed there as well.
>
>
> -----Original Message-----
> *From: *Paul Eggleton [paul.eggleton at linux.intel.com]
> *Sent: *Monday, June 24, 2013 08:31 AM Pacific Standard Time
> *To: *Hatle, Mark
> *Cc: *openembedded-core at lists.openembedded.org
> *Subject: *Re: [OE-core] [PATCH] buildtools-tarball: Change the way the
> SDK is sanitized
>
> On Monday 24 June 2013 09:47:15 Mark Hatle wrote:
> > +     script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-${SDK_SYS}}
>
> I could be wrong but I think this may be a bashism...
>

It isn't, afaik. From SuSv4, Shell & Utilities->Shell Command
Language->2.6.2 Parameter Expansion:

${*parameter*:-*word*} *Use Default Values*. If *parameter* is unset or
null, the expansion of *word* shall be substituted; otherwise, the value of
*parameter* shall be substituted.--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130624/9ce2cd3e/attachment-0002.html>


More information about the Openembedded-core mailing list