<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 9:10 AM, Hatle, Mark <span dir="ltr"><<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>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.<div class="im">
<br>
<br>
-----Original Message-----<br>
<b>From: </b>Paul Eggleton [<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>]<br>
<b>Sent: </b>Monday, June 24, 2013 08:31 AM Pacific Standard Time<br>
<b>To: </b>Hatle, Mark<br>
<b>Cc: </b><a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@lists.openembedded.org</a><br>
<b>Subject: </b>Re: [OE-core] [PATCH] <span class="">buildtools</span>-tarball: Change the way the SDK is sanitized<br>
<br>
</div><p><font></font></p><div class="im"><font>On Monday 24 June 2013 09:47:15 Mark Hatle wrote:<br>
> + script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-${SDK_SYS}}<br>
<br>
I could be wrong but I think this may be a bashism...<br></font></div></div></blockquote></div><br>It isn't, afaik. From SuSv4, Shell & Utilities->Shell Command Language->2.6.2 Parameter Expansion:</div><div class="gmail_extra">
<br></div><div class="gmail_extra"><dt style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">${<i>parameter</i>:-<i>word</i>}</dt><dd style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">
<b>Use Default Values</b>. If <i>parameter</i> is unset or null, the expansion of <i>word</i> shall be substituted; otherwise, the value of <i>parameter</i> shall be substituted.</dd>-- <br>Christopher Larson<br>clarson at kergoth dot com<br>
Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics
</div></div>