remove old manifest to sync up latest one
This commit is contained in:
@@ -20,9 +20,14 @@ _mydir="$(pwd)"
|
|||||||
|
|
||||||
if [ -z "$2" ]
|
if [ -z "$2" ]
|
||||||
then
|
then
|
||||||
|
|
||||||
|
rm -fr ${_working_full_path}/.repo/local_manifests
|
||||||
|
echo "INFO: rm -fr ${_working_full_path}/.repo/local_manifests"
|
||||||
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
|
||||||
|
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"
|
||||||
local_manifest_dir="$2_local_manifests"
|
local_manifest_dir="$2_local_manifests"
|
||||||
cp -R ${SCRIPT_DIR}/${local_manifest_dir} ${_working_full_path}/.repo
|
cp -R ${SCRIPT_DIR}/${local_manifest_dir} ${_working_full_path}/.repo
|
||||||
|
|||||||
Reference in New Issue
Block a user