summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-28 13:42:19 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-28 13:42:19 +0100
commit40d3bb19be62e7de6324719318c125bddf194a8e (patch)
tree39970a01404d38972914ff0699d105cbecc3348c
parent5725e3c4eead452818dfca232d4983f3a45eb67c (diff)
lib.sh: condense for loop
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/lib.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh
index 301ccb54..131d6cb9 100755
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -41,8 +41,7 @@ eval `setvars "" _nogit board relname versiondate projectsite \
for fv in projectname projectsite version versiondate; do
eval "[ ! -f "$fv" ] || read -r $fv < \"$fv\" || :"
-done
-chkvars projectname projectsite
+done; chkvars projectname projectsite
setcfg()
{