Skip to content

Commit f251532

Browse files
committed
Tidy up
1 parent ecc5563 commit f251532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/s3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33

44
AWS_TARGET_VERSION='2.22.34'
55

6-
if ! [ -x "$(aws --version | grep -o $AWS_VER)" ]; then
6+
if ! aws --version 2>/dev/null | grep -q "$AWS_TARGET_VERSION"; then
77
curl -sS "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_TARGET_VERSION}.zip" -o awscliv2.zip && \
88
unzip -q awscliv2.zip && \
99
sudo ./aws/install --update >/dev/null 2>&1 && \

0 commit comments

Comments
 (0)