use the new coding style in scripts

there were stragglers left over from the last audit,
and these stragglers still exist even after all the
major re-factoring as of late

the new style is: bsd-like coding style and error
handling. verbose yet simple error handling. we use
an "err" function in a way reminiscent of most C
programs that you see in openbsd base (err.h)

this style is very clean, resulting in readable code

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-08-24 00:30:07 +01:00
parent 4c6c7d1088
commit 8f4f0e00ec
8 changed files with 119 additions and 66 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
set -u
version="version-unknown"
[ -f version ] && version="$(cat version)"