From c91778b0bd50e0d832dc2bb3a0da1e8607458943 Mon Sep 17 00:00:00 2001 From: Yukari Chiba Date: Tue, 10 Sep 2024 11:09:23 +0800 Subject: [PATCH] fix file path for Arch repo --- Build/Arch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/Arch.pm b/Build/Arch.pm index 41dca0a23..298505182 100644 --- a/Build/Arch.pm +++ b/Build/Arch.pm @@ -248,7 +248,7 @@ sub queryfiles { # we use filter_cb here so that Archive::Tar skips the file contents $tar->read($handle, 1, {'filter_cb' => sub { my ($entry) = @_; - push @files, $entry->name unless $entry->is_longlink || (@files && $files[-1] eq $entry->name); + push @files, $entry->full_path unless $entry->is_longlink || (@files && $files[-1] eq $entry->full_path); return 0; }}); shift @files if @files && $files[0] eq '.PKGINFO';