Skip to content

Commit

Permalink
[build] fix \ to / in paths passed to parrot's Configure.pl
Browse files Browse the repository at this point in the history
Patch courtesy by azawawi++. Also fix up his CREDITS entry
  • Loading branch information
moritz committed Sep 8, 2009
1 parent 01ae3fa commit a0c8a44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CREDITS
Expand Up @@ -16,8 +16,10 @@
PPS: This file is encoded in UTF-8

----------
N: Ahmed Zawawi
D: Rakudo builtins
N: Ahmad M. Zawawi
U: azawawi
E: ahmad.zawawi@gmail.com
D: Rakudo builtins, win32 patches

N: Alberto Manuel Brandao Simoes
U: ambs
Expand Down
2 changes: 2 additions & 0 deletions Configure.pl
Expand Up @@ -29,6 +29,8 @@
if ($options{'gen-parrot'}) {
my @opts = @{ $options{'gen-parrot-option'} || [] };
my $prefix = $options{'gen-parrot-prefix'} || cwd()."/parrot_install";
# parrot's Configure.pl mishandles win32 backslashes in --prefix
$prefix =~ s{\\}{/}g;
my @command = ($^X, "build/gen_parrot.pl", "--prefix=$prefix", @opts);

print "Generating Parrot ...\n";
Expand Down

0 comments on commit a0c8a44

Please sign in to comment.