Skip to content

Commit

Permalink
Remove deprecated support for implicit Distribution::Builder prefix
Browse files Browse the repository at this point in the history
Better be explicit. AFAIK Inline::Python was the only module depending
on this and has been fixed already.
  • Loading branch information
niner committed Jan 31, 2020
1 parent 21b8097 commit 593db2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/install-dist.p6
Expand Up @@ -74,9 +74,7 @@ sub build(IO::Path :$dist-prefix) {
my $meta = Rakudo::Internals::JSON.from-json($meta-file.slurp);

if ($meta<builder>) {
my $builder-class = first { .so },
(try require ::("$meta<builder>")),
(try require ::("Distribution::Builder::$meta<builder>")); # get rid of this hard-coded prefix variation eventually
my $builder-class = (require ::("$meta<builder>"));

my $builder = $builder-class.new(:$meta);

Expand Down

0 comments on commit 593db2d

Please sign in to comment.