Permalink
Browse files

Fix GH-36

  • Loading branch information...
1 parent 914450e commit e0474ee1913250a51d5742a3be9104643f831406 @tadzik committed Jun 2, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Panda/Installer.pm
View
1 lib/Panda/Installer.pm
@@ -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';

0 comments on commit e0474ee

Please sign in to comment.