build/serprog: err if basename fails
Signed-off-by: Leah Rowe <leah@libreboot.org>9020vga
parent
eff9130b7a
commit
0c1d08d8b1
|
@ -71,7 +71,7 @@ print_boards()
|
||||||
|
|
||||||
list_boards()
|
list_boards()
|
||||||
{
|
{
|
||||||
basename -a -s .h "${1}/"*.h
|
basename -a -s .h "${1}/"*.h || err "list_boards $1: can't list boards"
|
||||||
}
|
}
|
||||||
|
|
||||||
main $@
|
main $@
|
||||||
|
|
Loading…
Reference in New Issue