diff --git a/src/cargo/cargo.rs b/src/cargo/cargo.rs index d9731189c40..c7d0bb7df7b 100644 --- a/src/cargo/cargo.rs +++ b/src/cargo/cargo.rs @@ -863,7 +863,7 @@ fn install_to_dir(srcfile: str, destdir: str) { let newfile = path::connect(destdir, path::basename(srcfile)); info(#fmt["Installing '%s'...", newfile]); - copy_warn(srcfile, newfile); + run::run_program("cp", [srcfile, newfile]); } fn copy_warn(srcfile: str, destfile: str) {