diff options
author | Leah Rowe <leah@libreboot.org> | 2023-12-27 17:20:55 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-12-27 17:20:55 +0000 |
commit | 0c1d08d8b1c5757ca10487fb3256741718009ac1 (patch) | |
tree | 5ae95ce18e5c279a5d39d77a981d20dc4e812740 | |
parent | eff9130b7ab9ce79338ae6b1ec5c2f18bad5b5ec (diff) |
build/serprog: err if basename fails
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | script/build/serprog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/build/serprog b/script/build/serprog index 28cd70a4..8b003add 100755 --- a/script/build/serprog +++ b/script/build/serprog @@ -71,7 +71,7 @@ print_boards() list_boards() { - basename -a -s .h "${1}/"*.h + basename -a -s .h "${1}/"*.h || err "list_boards $1: can't list boards" } main $@ |