Skip to content

Commit 4f01d1c

Browse files
committed
ci: use shared.sh in scripts/install-awscli.sh
1 parent c040601 commit 4f01d1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ci/scripts/install-awscli.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@
1616
set -euo pipefail
1717
IFS=$'\n\t'
1818

19+
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
20+
1921
MIRROR="https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc/2019-07-27-awscli.tar"
2022
DEPS_DIR="/tmp/awscli-deps"
2123

2224
pip="pip"
2325
pipflags=""
24-
if [[ "${AGENT_OS}" == "Linux" ]]; then
26+
if isLinux; then
2527
pip="pip3"
2628
pipflags="--user"
2729

0 commit comments

Comments
 (0)