ci: use shared.sh in scripts/install-awscli.sh

This commit is contained in:
Pietro Albini 2019-10-08 12:04:28 +02:00
parent 9c252f14bc
commit 102dc3ddc1
No known key found for this signature in database
GPG key ID: 3E06ABE80BAAF19C

View file

@ -16,12 +16,14 @@
set -euo pipefail
IFS=$'\n\t'
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
MIRROR="https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc/2019-07-27-awscli.tar"
DEPS_DIR="/tmp/awscli-deps"
pip="pip"
pipflags=""
if [[ "${AGENT_OS}" == "Linux" ]]; then
if isLinux; then
pip="pip3"
pipflags="--user"