From c7691e2ea117eab012f09a207bba143c6f140b14 Mon Sep 17 00:00:00 2001 From: Lan Xia Date: Thu, 18 Jan 2024 11:04:49 -0500 Subject: [PATCH] use vendor repo material Signed-off-by: Lan Xia --- get.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/get.sh b/get.sh index 02c9416c48..ebbf2d83ab 100755 --- a/get.sh +++ b/get.sh @@ -627,6 +627,17 @@ getVendorTestMaterial() { branchOption="-b $branch" fi + if [[ "$dir" =~ "jck" ]]; then + echo "BUILD_LIST is $BUILD_LIST" + if [[ "$BUILD_LIST" =~ "jck" || "$BUILD_LIST" =~ "all" ]]; then + echo "Remove existing subdir. $repoURL will be used..." + rm -rf jck + else + echo "Skip git clone $repoURL" + continue + fi + fi + echo "git clone ${branchOption} $repoURL $dest" git clone -q --depth 1 $branchOption $repoURL $dest