Files
qt5/coin/provisioning/qtci-macos-15-arm/23-homebrew.sh
Tor Arne Vestbø 3cf0048d2c Test macOS 15 in CI
Change-Id: Ic8dcca193fdbbada26b95d92c365daaa2bd9c6b1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-08-10 19:05:13 +02:00

17 lines
451 B
Bash
Executable File

#!/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