From 700a1a3175a3c379e36cb8a04e33bea9bb2996df Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 5 Mar 2020 11:55:34 +0100 Subject: Fix dist again --- xtask/src/dist.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xtask/src/dist.rs') diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 737751ae8..4c0fbaf57 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs @@ -55,9 +55,9 @@ fn dist_server() -> Result<()> { let (src, dst) = if cfg!(target_os = "linux") { ("./target/x86_64-unknown-linux-musl/release/rust-analyzer", "./dist/rust-analyzer-linux") } else if cfg!(target_os = "windows") { - ("/target/release/rust-analyzer.exe", "./dist/rust-analyzer-windows.exe") + ("./target/release/rust-analyzer.exe", "./dist/rust-analyzer-windows.exe") } else if cfg!(target_os = "macos") { - ("/target/release/rust-analyzer", "./dist/rust-analyzer-mac") + ("./target/release/rust-analyzer", "./dist/rust-analyzer-mac") } else { panic!("Unsupported OS") }; -- cgit v1.2.3