This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=32e87704227c5ece6e75dca336a58d16e2c15b77 commit 32e87704227c5ece6e75dca336a58d16e2c15b77 Author: Guillem Jover <[email protected]> AuthorDate: Tue Jun 10 00:24:54 2025 +0200 Dpkg::Source::Package::V1: Remove redundant -r option for cp The -a option implies -R, and POSIX does not even define -r anyway. --- scripts/Dpkg/Source/Package/V1.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Dpkg/Source/Package/V1.pm b/scripts/Dpkg/Source/Package/V1.pm index aff7eb1c1..53425f6ad 100644 --- a/scripts/Dpkg/Source/Package/V1.pm +++ b/scripts/Dpkg/Source/Package/V1.pm @@ -248,7 +248,7 @@ sub do_extract { if (-e "$newdirectory.tmp-keep") { error(g_('unable to keep orig directory (already exists)')); } - system('cp', '-ar', '--', $expectprefix, "$newdirectory.tmp-keep"); + system('cp', '-a', '--', $expectprefix, "$newdirectory.tmp-keep"); subprocerr("cp $expectprefix to $newdirectory.tmp-keep") if $?; } -- Dpkg.Org's dpkg

