Skip to content

Commit

Permalink
install command: add -T option to cp to not create nested folders on …
Browse files Browse the repository at this point in the history
…duplicate calls
  • Loading branch information
daywalker90 authored and vincenzopalazzo committed Feb 26, 2024
1 parent 6a1746e commit 70de208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffee_core/src/coffee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ impl PluginManager for CoffeeManager {
old_root_path,
new_root_path
);
let script = format!("cp -r {old_root_path} {new_root_path}");
let script = format!("cp -r -T {old_root_path} {new_root_path}");
sh!(self.config.root_path.clone(), script, verbose);
log::debug!(
"Done! copying directory from {} inside the new one {}",
Expand Down

0 comments on commit 70de208

Please sign in to comment.