From ef8e8e2b26f75758d045f6437ff4ca56b614b0d7 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 16 Dec 2024 11:35:18 -0300 Subject: [PATCH] fix: set command post windows --- dist/codecov.sh | 2 +- scripts/download.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/codecov.sh b/dist/codecov.sh index 939880e..a258247 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -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 diff --git a/scripts/download.sh b/scripts/download.sh index 0c18f4a..0209572 100755 --- a/scripts/download.sh +++ b/scripts/download.sh @@ -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