mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-14 08:16:00 +08:00
Pick-to: 6.7 Change-Id: I83c6b017d81bc98431f0d0421167890466e5b855 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
17 lines
451 B
Bash
Executable File
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
|