summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2026-03-12 11:01:03 +0100
committerTom Rini <[email protected]>2026-03-25 14:37:55 -0600
commitfc8bf9a984c118d551b3f93c66f1ae2733b9b588 (patch)
treed80c611b99126a6d35a37b99785a1b3e11deb1c6 /scripts/cleanpatch
parent12a9c83cba29b0acf3d41fb40de6416c473c0ba3 (diff)
cmd: test: allow using [ as alias for test
I often find myself writing something like if [ "$somevar" = 123 ] ; then ... only to realize that that syntax doesn't work in U-Boot shell, and must be spelled if test "$somevar" = 123 ; then It only takes a few lines of code to support this POSIX-standardized alias for test, and helps developers focus on their actual problems instead of dealing with such unexpected quirks of the shell. Signed-off-by: Rasmus Villemoes <[email protected]> Tested-by: Anshul Dalal <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions