Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for missing parrot phony.exe under cygwin per RT #113992

  • Loading branch information...
commit a700a7fbc5a7da6132b35880183101b79405a7d3 1 parent 810e61e
@ronaldxs ronaldxs authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 tools/lib/NQP/Configure.pm
View
8 tools/lib/NQP/Configure.pm
@@ -2,6 +2,7 @@ package NQP::Configure;
use strict;
use warnings;
use Cwd;
+use File::Copy;
use base qw(Exporter);
our @EXPORT_OK = qw(sorry slurp system_or_die
@@ -338,6 +339,13 @@ sub gen_parrot {
}
}
+ # Compensate for cygwin removal of phony.exe per RT #113992
+ my $phony_dir = 't/tools/install/testlib';
+ if (not -f "$phony_dir/phony.exe" and -f "$phony_dir/phony") {
+ copy("$phony_dir/phony", "$phony_dir/phony.exe") or
+ die "Could not copy/create $phony_dir/phony.exe: $!";
+ }
+
$prefix =~ s{\\}{/}g;
print "\nConfiguring Parrot ...\n";
Please sign in to comment.
Something went wrong with that request. Please try again.