mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 08:17:31 +02:00
unify err functions across scripts
include/err.sh this new handling also does mundane things, such as tell you what script b0rked Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
[ "x${DEBUG+set}" = 'xset' ] && set -v
|
||||
set -u -e
|
||||
|
||||
. "include/err.sh"
|
||||
|
||||
ich9gen="util/ich9utils/ich9gen"
|
||||
|
||||
main()
|
||||
@@ -36,10 +38,4 @@ main()
|
||||
)
|
||||
}
|
||||
|
||||
err()
|
||||
{
|
||||
printf "%s: %s\n" $0 $1
|
||||
exit 1
|
||||
}
|
||||
|
||||
main $@
|
||||
|
||||
Reference in New Issue
Block a user