]> git.lizzy.rs Git - rust.git/commitdiff
llvm-tools-preview: fix build-manifest
authorJorge Aparicio <jorge@japaric.io>
Thu, 12 Jul 2018 01:03:34 +0000 (20:03 -0500)
committerJorge Aparicio <jorge@japaric.io>
Thu, 12 Jul 2018 01:03:34 +0000 (20:03 -0500)
src/tools/build-manifest/src/main.rs

index c2f0687a5a994e3dbc8ec257b4812e25c2c5a433..bb20678d4a11ba707fab252518638b751a84def9 100644 (file)
@@ -492,7 +492,7 @@ fn filename(&self, component: &str, target: &str) -> String {
             format!("clippy-{}-{}.tar.gz", self.clippy_release, target)
         } else if component == "rustfmt" || component == "rustfmt-preview" {
             format!("rustfmt-{}-{}.tar.gz", self.rustfmt_release, target)
-        } else if component == "llvm_tools" {
+        } else if component == "llvm-tools" || component == "llvm-tools-preview" {
             format!("llvm-tools-{}-{}.tar.gz", self.llvm_tools_release, target)
         } else {
             format!("{}-{}-{}.tar.gz", component, self.rust_release, target)