bootscript-uboot: fix test -z cases
"test -z $var" do not work correctly if var is not defined:
u-boot=> pri test
u-boot=> if test -z $test; then echo 123; fi
u-boot=> if test -z "$test"; then echo 123; fi
123
u-boot=>
Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
parent
04fa5949
No related branches found
No related tags found
Loading
-
mentioned in commit seco-ne/yocto/manifest@b9b32ffc
-
mentioned in merge request seco-ne/yocto/manifest!1806 (merged)
-
mentioned in commit seco-ne/yocto/manifest@1a45f619
Please register or sign in to comment