Skip to content

Commit

Permalink
fix: edit grep (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
brivu authored Dec 6, 2023
1 parent 5a92b1f commit 256a96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/windows/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Install_AWS_CLI(){

choco install awscli --version="$version"
echo "Installing AWS CLI version $version"
if echo "$1" | grep -e "2." -e "latest"; then
if echo "$1" | grep -e "^2\." -e "latest"; then
echo "export PATH=\"\${PATH}:/c/Program Files/Amazon/AWSCLIV2\"" >> "$BASH_ENV"
else
echo "export PATH=\"\${PATH}:/c/Program Files/Amazon/AWSCLI/bin\"" >>"$BASH_ENV"
Expand Down

0 comments on commit 256a96f

Please sign in to comment.