Skip to content

Commit

Permalink
fix: set command post windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Dec 16, 2024
1 parent 375a409 commit ef8e8e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ else
say "$g==>$x Detected $b${CC_OS}$x"
fi
cc_filename="codecov"
cc_command="./$cc_filename"
[[ $CC_OS == "windows" ]] && cc_filename+=".exe"
cc_command="./$cc_filename"
[[ $CC_OS == "macos" ]] && \
! command -v gpg 2>&1 >/dev/null && \
HOMEBREW_NO_AUTO_UPDATE=1 brew install gpg
Expand Down
2 changes: 1 addition & 1 deletion scripts/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ else
fi

codecov_filename="codecov"
codecov_command="./$codecov_filename"
[[ $CODECOV_OS == "windows" ]] && codecov_filename+=".exe"
codecov_command="./$codecov_filename"
[[ $CODECOV_OS == "macos" ]] && \
! command -v gpg 2>&1 >/dev/null && \
HOMEBREW_NO_AUTO_UPDATE=1 brew install gpg
Expand Down

0 comments on commit ef8e8e2

Please sign in to comment.