aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-macos-14-arm/23-homebrew.sh
blob: 4983540c2c3563fc700da6e174e51f646461dc1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

# Will install homebrew package manager for macOS.
#     WARNING: Requires commandlinetools


set -e

BASEDIR=$(dirname "$0")
"$BASEDIR/../common/macos/homebrew_for_arm_mac.sh"
# Can we force reading bash env this late?
echo "if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi" >> .profile