From d9db3f6fd8ec38121d5255b8fbded901e7ca16eb Mon Sep 17 00:00:00 2001 From: Theodore Siu Date: Mon, 7 Nov 2022 15:51:52 +0000 Subject: [PATCH] Add arch flag and env variable for overriding on mac R=sokcevic@google.com Change-Id: I2c07c2157a404b0eb29da8b46b22990a470576c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4005186 Commit-Queue: Theodore Siu Reviewed-by: Josip Sokcevic --- cipd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cipd b/cipd index 3ea061910..11f747511 100755 --- a/cipd +++ b/cipd @@ -30,6 +30,10 @@ case "${UNAME}" in ;; darwin) OS=mac + # Allow mac users to override easily override arch detection + if [ ! -z "${ARCH_MAC_OVERRIDE}" ]; then + ARCH="${ARCH_MAC_OVERRIDE}" + fi ;; *) >&2 echo "CIPD not supported on ${UNAME}"