Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created December 12, 2011 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadzik/1466833 to your computer and use it in GitHub Desktop.
Save tadzik/1466833 to your computer and use it in GitHub Desktop.
diff --git a/lib/Panda/Installer.pm b/lib/Panda/Installer.pm
index 031830c..9ab7a5c 100644
--- a/lib/Panda/Installer.pm
+++ b/lib/Panda/Installer.pm
@@ -17,7 +17,9 @@ class Panda::Installer does Pies::Installer {
if 'blib'.IO ~~ :d {
for find(dir => 'blib', type => 'file').list -> $i {
# .substr(5) to skip 'blib/'
+ say "creating dir: $!destdir/{$i.dir.substr(5)}";
mkpath "$!destdir/{$i.dir.substr(5)}";
+ say "copying '$i' to '$!destdir/{$i.Str.substr(5)}'";
$i.IO.copy("$!destdir/{$i.Str.substr(5)}");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment