From dc8bac54ad4a0b4aa8c3e14862ffee5b547dff9e Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Sat, 9 Feb 2019 22:16:29 -0800 Subject: [PATCH] patch --- tools/internal_ci/helper_scripts/prepare_build_macos_rc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc index 2ecd39465d4..e9ec07cd0f9 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc +++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc @@ -48,11 +48,9 @@ set -ex # cocoapods export LANG=en_US.UTF-8 -# pre-fetch cocoapods master repo with HEAD only +# pre-fetch cocoapods master repo's most recent commit only mkdir -p ~/.cocoapods/repos -git clone --depth 1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master - -time pod repo update # needed by python +time git clone --depth 1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master # python time pip install virtualenv --user python