diff --git a/lib/Installer.pm6 b/lib/Installer.pm6 index 5130188..0abe3f5 100644 --- a/lib/Installer.pm6 +++ b/lib/Installer.pm6 @@ -494,7 +494,7 @@ class Installer:auth:ver<0.2.0> { next if $filepart eq any(@.ecosystem.protected-files); if @names.elems { my $dir = $perl6lib ~ '/' ~ join('/',@names); - if $dir !~~ :d { + if $dir.IO !~~ :d { run( "perl -MExtUtils::Command -e mkpath $dir" ); } }