Skip to content

Commit

Permalink
use vendor repo material
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
  • Loading branch information
llxia authored and pshipton committed Jan 24, 2024
1 parent f847052 commit c7691e2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c7691e2

Please sign in to comment.