summaryrefslogtreecommitdiff
path: root/include/option.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-27 17:26:37 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-27 17:26:37 +0000
commitbc87b5f67e49c8e51e58a68e0651fd6ed176bb7d (patch)
treea99535cb2dd62746d263e17d5f25aeebb42f0224 /include/option.sh
parent0c1d08d8b1c5757ca10487fb3256741718009ac1 (diff)
lbmk scripts: general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/option.sh')
-rwxr-xr-xinclude/option.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/option.sh b/include/option.sh
index 31411423..8367d447 100755
--- a/include/option.sh
+++ b/include/option.sh
@@ -46,9 +46,9 @@ scan_config()
set ${line} 1>/dev/null 2>/dev/null || :
if [ "${1%:}" = "depend" ]; then
depend="${depend} ${2}"
- continue
+ else
+ eval "${1%:}=\"${2}\""
fi
- eval "${1%:}=\"${2}\""
done << EOF
$(eval "awk '${awkstr}' \"${revfile}\"")
EOF