lbmk scripts: general code cleanup

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-12-27 17:26:37 +00:00
parent 0c1d08d8b1
commit bc87b5f67e
3 changed files with 6 additions and 19 deletions
-1
View File
@@ -53,7 +53,6 @@ check_project()
p_="x_ printf \"%s\\n\" \"\$$p\" > $p"
eval "x$p_ || $p_"
done
export LOCALVERSION="-${projectname}-${version%%-*}"
}
+2 -2
View File
@@ -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