summaryrefslogtreecommitdiff
path: root/script/update
diff options
context:
space:
mode:
Diffstat (limited to 'script/update')
-rwxr-xr-xscript/update/release2
-rwxr-xr-xscript/update/trees4
2 files changed, 4 insertions, 2 deletions
diff --git a/script/update/release b/script/update/release
index 76de4ede..c242c9ce 100755
--- a/script/update/release
+++ b/script/update/release
@@ -21,6 +21,8 @@ main()
esac
done
+ check_project
+
vdir="${vdir}/${version}"
relname="${projectname}-${version}"
src_dirname="${relname}_src"
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 $@