Skip to content

Commit 34a7536

Browse files
committed
Fix test operators
`test` does not support `==`, but deceptively returns `true` in case you use it.
1 parent d6fd398 commit 34a7536

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/bootscripts/boot-generic.cmd.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ if test "${docker_optimizations}" = "on" ; then
124124
setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory"
125125
fi
126126

127-
if test "${vendor}" == "allwinner" ; then
127+
if test "${vendor}" = "allwinner" ; then
128128
if test "${disp_mem_reserves}" = "off" ; then
129129
setenv bootargs "${bootargs} sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16"
130130
fi
131131
fi
132-
if test "${vendor}" == "marvell" ; then
132+
if test "${vendor}" = "marvell" ; then
133133
#
134134
fi
135-
if test "${vendor}" == "rockchip" ; then
135+
if test "${vendor}" = "rockchip" ; then
136136
#
137137
fi
138138

0 commit comments

Comments
 (0)