mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
lbmk scripts: general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -53,7 +53,6 @@ check_project()
|
||||
p_="x_ printf \"%s\\n\" \"\$$p\" > $p"
|
||||
eval "x$p_ || $p_"
|
||||
done
|
||||
|
||||
export LOCALVERSION="-${projectname}-${version%%-*}"
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user