
15 Oct
2019
15 Oct
'19
11:19 a.m.
Dear Adarsh,
In message CAJgxa7d3UPKdNcqegTE1ipOrBpx8jY4Q1MMyuWXQeKvTUbbGrQ@mail.gmail.com you wrote:
=> localvar= => showvar HUSH_VERSION=0.01 target=pxe devnum=1 localvar=hello
When 'localvar' is assigned an empty value , the 'showvar' command displays the previously assigned 'hello'.
Sorry, I missed that detail.
How do we set an empty value to a hush shell local variable ??
You are right, this is a real bug. Not even using an explicit empty string argument does work here:
U-Boot> foo=hello U-Boot> showvar HUSH_VERSION=0.01 foo=hello U-Boot> foo='' U-Boot> showvar HUSH_VERSION=0.01 foo=hello
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
It is better to marry than to burn.
- Bible ``I Corinthians'' ch. 7, v. 9