boot: iterate over directories in alphabetical order
When iterating over directories in order to find boot scripts do
this alphabetically to get a predictable order. This can be done
with glob() rather than readdir().

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a498736 commit 37db9c61f70a2fae9cf2dd002d9056cc017074d9
@Sascha Hauer Sascha Hauer authored on 13 May 2014
Showing 1 changed file
View
commands/boot.c