Skip to content

Commit 7d9e87c

Browse files
committed
Fix RT#131025 which is due to Build.pm failing to install docs under
'share' type path but .perl6 instead due to assumption about order of repo-chain. We now search for 'site' explicitly.
1 parent a55e9dd commit 7d9e87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use File::Find;
77
class Build {
88
method build($workdir) {
99
my $doc-dir = $workdir.IO.child('doc');
10-
my $dest-pref = $*REPO.repo-chain.first(*.?can-install).prefix.child("doc");
10+
my $dest-pref = $*REPO.repo-chain.grep(/site/).first.prefix.child("doc");
1111
mkdir($dest-pref) unless $dest-pref.d;
1212

1313
my @files = find(dir => "$workdir/doc", type => 'file').list;

0 commit comments

Comments
 (0)