Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:rakudo/rakudo
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 10, 2009
2 parents cc1531f + f202f7f commit e73c623
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Configure.pl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
exit(0);
}

# Work out slash character to use.
my $slash = $^O eq 'MSWin32' ? '\\' : '/';

# If we're in a Parrot build tree and --parrot-config isn't
# specified, use the build tree's reconfigure.pl and exit.
# if (!$options{'parrot-config'} && -e "../../tools/dev/reconfigure.pl") {
Expand All @@ -33,7 +36,7 @@

# Get a list of parrot-configs to invoke.
my @parrot_config_exe =
qw(parrot/parrot_config parrot_config ../../parrot_config);
("parrot${slash}parrot_config", "parrot_config", "..${slash}..${slash}parrot_config.exe");
if ($options{'parrot-config'} && $options{'parrot-config'} ne '1') {
@parrot_config_exe = ($options{'parrot-config'});
}
Expand Down Expand Up @@ -79,7 +82,7 @@ sub read_parrot_config {
if (/(\w+) => '(.*)'/) { $config{$1} = $2 }
}
close $PARROT_CONFIG;
last;
last if %config;
}
}
%config;
Expand Down

0 comments on commit e73c623

Please sign in to comment.