Skip to content
Snippets Groups Projects
Commit 17c680aa authored by Mikhail Vanyulin's avatar Mikhail Vanyulin
Browse files

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: default avatarMikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
parent 04fa5949
No related branches found
No related tags found
1 merge request!558bootscript-uboot: fix test -z cases
Pipeline #124306 passed with stage
in 49 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment