mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2026-01-15 17:51:07 +00:00
Correct the error message produced when attempting to copy a directory
into itself with `cp`. Before this commit, the error message was
$ cp -R d d
cp: cannot copy a directory, 'd', into itself, 'd'
After this commit, the error message is
$ cp -R d d
cp: cannot copy a directory, 'd', into itself, 'd/d'
|
||
|---|---|---|
| .. | ||
| benches/factor | ||
| by-util | ||
| common | ||
| fixtures | ||
| test_util_name.rs | ||
| tests.rs | ||