set version/projectname properly

lbmk used to set version/versiondate directly in
err.sh, but now it's handled there by a function,
which is called by the main script.

script/update/release hadn't yet been adapted. the
only change necessary is to call check_project()

script/update/trees also makes use of it

script/build/roms is using "projectname"

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-12-23 08:43:42 +00:00
parent aa525142aa
commit 9d5d98ebae
5 changed files with 9 additions and 3 deletions
+2
View File
@@ -59,6 +59,8 @@ check_project()
x_ printf "%s\n" "${version}" > version
xx_ printf "%s\n" "${versiondate}" > versiondate || \
x_ printf "%s\n" "${versiondate}" > versiondate
export LOCALVERSION="-${projectname}-${version%%-*}"
}
setvars()