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 Feb 25, 2024
1 parent 6a1746e commit 9ec10ea
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 9ec10ea

Please sign in to comment.