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=c24b254ff4b2ed56eb6e408b3d0a77e270c1eaff commit c24b254ff4b2ed56eb6e408b3d0a77e270c1eaff Author: Guillem Jover <guil...@debian.org> AuthorDate: Fri Sep 8 02:56:59 2023 +0200 Dpkg::Source::Archive: Use $Dpkg::PROGTAR instead of tar in error message Hardcoding the program name in the error message is confusing as we might be using some other name for the tar program which we detected during configure checks. --- scripts/Dpkg/Source/Archive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Dpkg/Source/Archive.pm b/scripts/Dpkg/Source/Archive.pm index fac10175d..badb81bbc 100644 --- a/scripts/Dpkg/Source/Archive.pm +++ b/scripts/Dpkg/Source/Archive.pm @@ -114,7 +114,7 @@ sub finish { my $self = shift; close(*$self->{tar_input}) or syserr(g_('close on tar input')); - wait_child(*$self->{pid}, cmdline => 'tar -cf -'); + wait_child(*$self->{pid}, cmdline => "$Dpkg::PROGTAR -cf -"); delete *$self->{pid}; delete *$self->{tar_input}; delete *$self->{cwd}; -- Dpkg.Org's dpkg