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 --- script/update/trees | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script/update/trees') diff --git a/script/update/trees b/script/update/trees index 47b50dd6..08a86f61 100755 --- a/script/update/trees +++ b/script/update/trees @@ -10,8 +10,6 @@ set -u -e . "include/option.sh" . "include/git.sh" -export LOCALVERSION="-${projectname}-${version%%-*}" - eval "$(setvars "" arch cfgsdir codedir config config_name crossgcc_ada mode \ elfdir listfile project target target_dir targets tree _f target1)" @@ -36,6 +34,8 @@ main() [ -z "${_f}" ] && err "missing flag (-m/-u/-b/-c/-x/-f/-s/-l/-n)" [ -z "${project}" ] && err "project name not specified" + check_project + _cmd="build_projects" [ -f "config/${project}/build.list" ] && _cmd="build_targets" $_cmd $@ -- cgit v1.2.1