Skip to content
Snippets Groups Projects
Commit 350a9a6b authored by zuul's avatar zuul Committed by Gerrit Code Review
Browse files

Merge "build_tools: Fix download_externals to handle certified branches"

parents 606ab90c 8a682897
Branches
Tags
No related merge requests found
...@@ -45,11 +45,11 @@ if [[ -z ${cache_dir} ]] ; then ...@@ -45,11 +45,11 @@ if [[ -z ${cache_dir} ]] ; then
fi fi
version=$(${ASTTOPDIR}/build_tools/make_version ${ASTTOPDIR}) version=$(${ASTTOPDIR}/build_tools/make_version ${ASTTOPDIR})
if [[ ! ${version} =~ ^(GIT-)?([^.-]+)[.-].* ]] ; then if [[ ! ${version} =~ ^(GIT-)?(certified/)?([^.-]+)[.-].* ]] ; then
echo "${module_name}: Couldn't parse version ${version}" echo "${module_name}: Couldn't parse version ${version}"
exit 1 exit 1
fi fi
major_version=${BASH_REMATCH[2]} major_version=${BASH_REMATCH[3]}
if [[ "${major_version}" == "master" ]] ; then if [[ "${major_version}" == "master" ]] ; then
echo "${module_name}: External module downloading is not available in the 'master' git branch. Please disable in menuselect and download manually." echo "${module_name}: External module downloading is not available in the 'master' git branch. Please disable in menuselect and download manually."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment