From c1001c6f7c2e622eaff02630e89a35e24778d9b0 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 23 May 2019 16:03:55 +0100 Subject: Make the script for getting the compute library more robust * Added an extra git fetch without specifying the remote to allow fetching from wathever remote one is using * Fixes a failure in our setup agents jobs Change-Id: I64b034eec5fba5c8b113e89b5bb5724fb978e511 Signed-off-by: Matteo Martincigh --- scripts/get_compute_library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_compute_library.sh b/scripts/get_compute_library.sh index 9312504fa4..39de20cc11 100755 --- a/scripts/get_compute_library.sh +++ b/scripts/get_compute_library.sh @@ -73,7 +73,7 @@ if [ ! -z "$CLFRAMEWORK_SHA" ]; then CLFRAMEWORKREVISION=$CLFRAMEWORK_SHA fi -git fetch https://review.mlplatform.org/ml/ComputeLibrary && git checkout ${CLFRAMEWORKREVISION} +git fetch && git fetch https://review.mlplatform.org/ml/ComputeLibrary && git checkout ${CLFRAMEWORKREVISION} AssertZeroExitCode "Fetching and checking out ${CLFRAMEWORKREVISION} failed" # Set commit hook so we can submit reviews to gerrit -- cgit v1.2.1