Skip to content

cp --remove-destination: don't fail if destination is symlink to source#5430

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:cp_remove_destination_shouldnt_fail
Oct 22, 2023
Merged

cp --remove-destination: don't fail if destination is symlink to source#5430
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:cp_remove_destination_shouldnt_fail

Conversation

@cakebaker
Copy link
Copy Markdown
Contributor

With this PR, cp --remove-destination no longer shows an error if the destination is a symlink to the source and the destination is removed instead.

Fixes #5420

@cakebaker cakebaker changed the title cp: --remove-destination don't fail if destination is symlink to source cp --remove-destination: don't fail if destination is symlink to source Oct 19, 2023
@cakebaker cakebaker force-pushed the cp_remove_destination_shouldnt_fail branch from a99f284 to 772892e Compare October 20, 2023 07:41
@uutils uutils deleted a comment from github-actions bot Oct 22, 2023
@sylvestre sylvestre merged commit 03d598d into uutils:main Oct 22, 2023
@cakebaker cakebaker deleted the cp_remove_destination_shouldnt_fail branch October 23, 2023 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cp: --remove-destination shouldn't fail if destination is symlink to source

2 participants