We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7525c4d commit da6b984Copy full SHA for da6b984
.buildkite/scripts/install-awscli.sh
@@ -23,8 +23,8 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
23
curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}.zip" -o "awscliv2.zip"
24
unzip -q awscliv2.zip
25
sudo ./aws/install
26
- if ! command -v aws; then
27
- export PATH="/usr/local/bin:${PATH}"
+ if ! command -v aws; then # on RHEL, /usr/local/bin isn't in the PATH
+ sudo ln -s /usr/local/bin/aws /usr/bin/aws
28
fi
29
elif [[ "$OSTYPE" == "darwin"* ]]; then
30
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
0 commit comments