Skip to content

Commit

Permalink
Removed space support
Browse files Browse the repository at this point in the history
Signed-off-by: AbstractionFactory <[email protected]>
  • Loading branch information
abstractionfactory committed Nov 5, 2024
1 parent d72ac48 commit ca25661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/install-opentofu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ install_standalone() {

if [ "${OPENTOFU_VERSION}" = "latest" ]; then
log_info "Determining latest OpenTofu version..."
OPENTOFU_VERSION=$(download_file "https://api.github.com/repos/opentofu/opentofu/releases/latest" - | grep "tag_name" | sed -e 's/.*tag_name":\s*"v//' -e 's/".*//')
OPENTOFU_VERSION=$(download_file "https://api.github.com/repos/opentofu/opentofu/releases/latest" - | grep "tag_name" | sed -e 's/.*tag_name":"v//' -e 's/".*//')
if [ -z "${OPENTOFU_VERSION}" ]; then
log_error "Failed to obtain the latest release from the GitHub API. Try passing --opentofu-version to specify a version."
return "${TOFU_INSTALL_EXIT_CODE_INSTALL_FAILED}"
Expand Down

0 comments on commit ca25661

Please sign in to comment.