Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix GH-36
  • Loading branch information
Tadeusz Sośnierz committed Jun 2, 2013
1 parent 914450e commit e0474ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Panda/Installer.pm
Expand Up @@ -46,6 +46,7 @@ method install($from, $to? is copy) {
if 'bin'.IO ~~ :d {
for find(dir => 'bin', type => 'file').list -> $bin {
next if $bin.name.substr(0, 1) eq '.';
next if $*OS ne 'MSWin32' and $bin.name ~~ /\.bat$/;
mkpath "$to/{$bin.dir}";
copy($bin, "$to/$bin");
"$to/$bin".IO.chmod(0o755) unless $*OS eq 'MSWin32';
Expand Down

0 comments on commit e0474ee

Please sign in to comment.