Closed PeterCxy closed 3 years ago
On some devices mmcblk* do not show up until a few seconds later. With the shell pattern matcher, if mmcblk*p1 matches nothing, it will just return mmcblk*p1 unchanged, which causes issues with our script.
mmcblk*
mmcblk*p1
Use find instead.
find
On some devices
mmcblk*
do not show up until a few seconds later. With the shell pattern matcher, ifmmcblk*p1
matches nothing, it will just returnmmcblk*p1
unchanged, which causes issues with our script.Use
find
instead.