Skip to content

Commit d9db3f6

Browse files
Theodore SiuLUCI CQ
Theodore Siu
authored and
LUCI CQ
committed
Add arch flag and env variable for overriding on mac
[email protected] Change-Id: I2c07c2157a404b0eb29da8b46b22990a470576c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4005186 Commit-Queue: Theodore Siu <[email protected]> Reviewed-by: Josip Sokcevic <[email protected]>
1 parent 03b187d commit d9db3f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cipd

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ case "${UNAME}" in
3030
;;
3131
darwin)
3232
OS=mac
33+
# Allow mac users to override easily override arch detection
34+
if [ ! -z "${ARCH_MAC_OVERRIDE}" ]; then
35+
ARCH="${ARCH_MAC_OVERRIDE}"
36+
fi
3337
;;
3438
*)
3539
>&2 echo "CIPD not supported on ${UNAME}"

0 commit comments

Comments
 (0)