phhusson / boot-diverter

Something that acts as a GSI but does... uh stuff
112 stars 8 forks source link

use `find` to match mmcblk partitions #1

Closed PeterCxy closed 3 years ago

PeterCxy commented 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.

Use find instead.