Re: [U-Boot] set and test a local variable in a script

2014-11-23 Thread Wolfgang Denk
Dear Andreas, In message <547211ba.7080...@gmx.at> you wrote: > > many, many, many thx for your quick response ... now it works, and i > know why it hasn't :) I'm glad I was able to help. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel H

Re: [U-Boot] set and test a local variable in a script

2014-11-23 Thread Andreas Neubacher
hi, many, many, many thx for your quick response ... now it works, and i know why it hasn't :) br, Andy On 22.11.2014 23:56, Wolfgang Denk wrote: Dear Andreas, In message <5470d48c.1080...@gmx.at> you wrote: i'm trying to set a local variable and test the variable in an if-then-else scri

Re: [U-Boot] set and test a local variable in a script

2014-11-22 Thread Wolfgang Denk
Dear Andreas, In message <5470d48c.1080...@gmx.at> you wrote: > > i'm trying to set a local variable and test the variable in an > if-then-else script ... > but it's somehow a bit weird!? Not really weird; you just have to be a bit careful about quoting rules... > - set variable "nea" to 0 > -

[U-Boot] set and test a local variable in a script

2014-11-22 Thread Andreas Neubacher
hi, i'm trying to set a local variable and test the variable in an if-then-else script ... but it's somehow a bit weird!? - set variable "nea" to 0 - create a script "x" and run OK - modify variable "nea" to 1 - run script "x" again ... NOK?! ... what i'm doing wrong - the behavior is