Hi,

Sorry, but personally I don't like your idea. What's the benefit of
reverting this? I would keep the ${} for bitbake and $ for shell. The
{} has to be placed only for variables like $a${b}c.
We should respect the workflow on all recipes otherwise we're braking
the "unwritten" rules.

Regards,
Andrej

On Sat, 2022-01-29 at 03:36 +0100, Marek Vasut wrote:
> On 1/29/22 03:01, Peter Kjellerstedt wrote:
> 
> Hi,
> 
> [...]
> 
> > Personally I do not see it as inconsistent, it is just the way
> > shell handles variables. It is just something to get used to (I
> > also had a colleague who would review any shell code changes we
> > made and comment on every single unnecessary character so one
> > quickly learned to use $foo everywhere possible rather than
> > ${foo}...)
> 
> quickly start putting the {} everywhere. That's my case.
> 
> (we should likely stop this ^ discussion thread before it turns into
> a 
> flamewar)
> 
> > That said, I have never looked at this code so I
> > have no real idea of how bad it is or isn't.
> 
> This patch lists pretty much all the vars, so you can get a pretty 
> decent idea from just looking at that.
> 
> > > third alternative ? I mean, besides rewriting the fitimage
> > > generation into python, which might make it more flexible too.
> > 
> > Replacing shell code that has grown beyond a couple of hundred
> > (tens?) lines with something written in a better language is
> > almost always a good idea.
> 
> It's grown to almost 800 LoC, so maybe it is time to reevaluate the 
> python conversion then.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161117): 
https://lists.openembedded.org/g/openembedded-core/message/161117
Mute This Topic: https://lists.openembedded.org/mt/88758521/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