Skip to content

Commit

Permalink
fix file path for Arch repo
Browse files Browse the repository at this point in the history
  • Loading branch information
YukariChiba committed Sep 10, 2024
1 parent dca0e07 commit c91778b
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 c91778b

Please sign in to comment.