From 9d5d98ebaeb6555ed7d50cb566e297ee75ee3c83 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 23 Dec 2023 08:43:42 +0000 Subject: 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 --- include/err.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/err.sh b/include/err.sh index 3699d6ce..6a8afd41 100755 --- a/include/err.sh +++ b/include/err.sh @@ -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() -- cgit v1.2.1