mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-02 03:36:54 +08:00
It's hasn't been .intra.qt.io for quite some time, it has worked through an alias we have on the DNS server. Change-Id: I0bc17668dacfea64c276bb553e75e4be16e97659 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
19 lines
628 B
Bash
Executable File
19 lines
628 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# shellcheck source=../unix/DownloadURL.sh
|
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
|
|
function InstallPip {
|
|
|
|
python=$1
|
|
|
|
# Will install pip utility for python
|
|
if [[ $python == "python2.7" ]]; then
|
|
DownloadURL "http://ci-files01-hki.ci.qt.io/input/mac/python27/get-pip.py" "https://bootstrap.pypa.io/2.7/get-pip.py" "c4c5f74586cffe49804f167d95d1710b9750ddf0"
|
|
else
|
|
DownloadURL "http://ci-files01-hki.ci.qt.io/input/mac/get-pip.py" "https://bootstrap.pypa.io/get-pip.py" "209ddf0bb8d1cf06a1f17dd9f21970c76b3d2be2"
|
|
fi
|
|
sudo "$python" get-pip.py
|
|
rm get-pip.py
|
|
}
|