diff --git a/website/helpers/download_helpers.rb b/website/helpers/download_helpers.rb index 464f8e2e1f..f0401a0727 100644 --- a/website/helpers/download_helpers.rb +++ b/website/helpers/download_helpers.rb @@ -18,7 +18,7 @@ if ENV["TERRAFORM_VERSION"] next if os == "web" $terraform_files[os] ||= [] - $terraform_files[os] << "terraform_#{filename}" + $terraform_files[os] << filename end $terraform_os = ["darwin", "linux", "windows"] & $terraform_files.keys @@ -54,7 +54,7 @@ module DownloadHelpers end def download_url(file) - "https://dl.bintray.com/mitchellh/terraform/#{file}" + "https://dl.bintray.com/mitchellh/terraform/terraform_#{file}" end def latest_version