ci: use shared.sh in scripts/install-awscli.sh
This commit is contained in:
parent
9c252f14bc
commit
102dc3ddc1
1 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue