Skip to content

Commit 500eef9

Browse files
committed
address feedback
1 parent 8dd0fb0 commit 500eef9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

scripts/evergreen/setup_aws.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ install_aws_cli_pip() {
4949
fi
5050

5151
# Check if AWS CLI exists and works before installing
52-
if command -v aws &> /dev/null && aws --version &> /dev/null 2>&1; then
53-
echo "AWS CLI is already installed and working:"
54-
aws --version
52+
if command -v aws &> /dev/null ; then
53+
echo "AWS CLI is already installed and working"
5554
return 0
5655
fi
5756

@@ -65,9 +64,8 @@ install_aws_cli_pip() {
6564
fi
6665

6766
# Verify installation
68-
if command -v aws &> /dev/null && aws --version &> /dev/null 2>&1; then
69-
echo "AWS CLI v1 installed successfully:"
70-
aws --version
67+
if command -v aws &> /dev/null; then
68+
echo "AWS CLI v1 installed successfully"
7169
else
7270
echo "Error: AWS CLI v1 installation failed" >&2
7371
return 1

0 commit comments

Comments
 (0)