You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
417 B
12 lines
417 B
2 years ago
|
--- a/src/depot.rs
|
||
|
+++ b/src/depot.rs
|
||
|
@@ -104,7 +104,7 @@ impl Depot {
|
||
|
)
|
||
|
.context(format!("failed to create directory {:?}", dst))?;
|
||
|
|
||
|
- copy_dir::copy_dir(&src, &dst).context(format!("failed to copy directory {:?} to {:?}", src, dst))?;
|
||
|
+ std::process::Command::new("cp").arg("-pr").arg(&src).arg(&dst).spawn().context(format!("failed to copy directory {:?} to {:?}", src, dst))?;
|
||
|
Ok(())
|
||
|
}
|
||
|
|