Use ToT's local manifest for stable branch
This commit is contained in:
@@ -25,6 +25,13 @@ then
|
|||||||
echo "INFO: copy local manifests, No branch specified"
|
echo "INFO: copy local manifests, No branch specified"
|
||||||
cp -R ${SCRIPT_DIR}/local_manifests ${_working_full_path}/.repo/
|
cp -R ${SCRIPT_DIR}/local_manifests ${_working_full_path}/.repo/
|
||||||
else
|
else
|
||||||
|
|
||||||
|
if [ $2 = "stable" ]; then
|
||||||
|
rm -fr ${_working_full_path}/.repo/local_manifests
|
||||||
|
echo "INFO: rm -fr ${_working_full_path}/.repo/local_manifests"
|
||||||
|
echo "INFO: copy local manifests, stable branch is specified, using ToT's manifests"
|
||||||
|
cp -R ${SCRIPT_DIR}/local_manifests ${_working_full_path}/.repo/
|
||||||
|
else
|
||||||
rm -fr ${_working_full_path}/.repo/local_manifests
|
rm -fr ${_working_full_path}/.repo/local_manifests
|
||||||
echo "INFO: rm -fr ${_working_full_path}/.repo/local_manifests"
|
echo "INFO: rm -fr ${_working_full_path}/.repo/local_manifests"
|
||||||
echo "INFO: copy $2 local manifests"
|
echo "INFO: copy $2 local manifests"
|
||||||
@@ -32,6 +39,7 @@ else
|
|||||||
cp -R ${SCRIPT_DIR}/${local_manifest_dir} ${_working_full_path}/.repo
|
cp -R ${SCRIPT_DIR}/${local_manifest_dir} ${_working_full_path}/.repo
|
||||||
mv ${_working_full_path}/.repo/${local_manifest_dir} ${_working_full_path}/.repo/local_manifests
|
mv ${_working_full_path}/.repo/${local_manifest_dir} ${_working_full_path}/.repo/local_manifests
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo "INFO: ls ${_working_full_path}/.repo"
|
echo "INFO: ls ${_working_full_path}/.repo"
|
||||||
ls ${_working_full_path}/.repo
|
ls ${_working_full_path}/.repo
|
||||||
|
|||||||
Reference in New Issue
Block a user