Skip to content

Commit 70de208

Browse files
daywalker90vincenzopalazzo
authored andcommitted
install command: add -T option to cp to not create nested folders on duplicate calls
1 parent 6a1746e commit 70de208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coffee_core/src/coffee.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ impl PluginManager for CoffeeManager {
270270
old_root_path,
271271
new_root_path
272272
);
273-
let script = format!("cp -r {old_root_path} {new_root_path}");
273+
let script = format!("cp -r -T {old_root_path} {new_root_path}");
274274
sh!(self.config.root_path.clone(), script, verbose);
275275
log::debug!(
276276
"Done! copying directory from {} inside the new one {}",

0 commit comments

Comments
 (0)