From c32c6cd154213e1b32a74e8e00bf3ff44c068249 Mon Sep 17 00:00:00 2001 From: Matt Follett Date: Fri, 10 Sep 2010 01:11:00 -0500 Subject: [PATCH] Modified line 497 of Installer.pm6 to fix a bug where d was being called on a Str instead of an IO. --- lib/Installer.pm6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ); } }