Skip to content

Commit

Permalink
Merge pull request #1026 from YukariChiba/fix-arch-repo-file
Browse files Browse the repository at this point in the history
fix file path for Arch repo
  • Loading branch information
mlschroe authored Oct 31, 2024
2 parents a7b9e3c + 1ca378c commit 8a00ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/Arch.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 8a00ff9

Please sign in to comment.