Skip to content

Commit

Permalink
Add reference repo for git clone openj9 (#3892)
Browse files Browse the repository at this point in the history
Signed-off-by: lanxia <lan_xia@ca.ibm.com>
  • Loading branch information
llxia authored Jul 28, 2022
1 parent ddea2dc commit f59dc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ getFunctionalTestMaterial()
OPENJ9_BRANCH="-b $OPENJ9_BRANCH"
fi

executeCmdWithRetry "openj9" "git clone --depth 1 $OPENJ9_BRANCH $OPENJ9_REPO"
executeCmdWithRetry "openj9" "git clone --depth 1 --reference-if-able ${HOME}/openjdk_cache $OPENJ9_BRANCH $OPENJ9_REPO"
rt_code=$?
if [ $rt_code != 0 ]; then
echo "git clone error code: $rt_code"
Expand Down

0 comments on commit f59dc40

Please sign in to comment.