Skip to content

Commit

Permalink
Turns out we don't need $slash in the Configure.pl for Windows to wor…
Browse files Browse the repository at this point in the history
…k - the $exe was the important thing.
  • Loading branch information
jnthn committed Feb 18, 2009
1 parent d2d0d84 commit 7c5baa4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Configure.pl
Expand Up @@ -12,9 +12,6 @@
'gen-parrot' => 'Automatically retrieve and build Parrot',
);

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


# Get any options from the command line
my %options = get_command_options();
Expand All @@ -34,8 +31,8 @@


# Get a list of parrot-configs to invoke.
my @parrot_config_exe = ("parrot${slash}parrot_config",
"..${slash}..${slash}parrot_config", "parrot_config");
my @parrot_config_exe = ("parrot/parrot_config",
"../../parrot_config", "parrot_config");
if ($options{'parrot-config'} && $options{'parrot-config'} ne '1') {
@parrot_config_exe = ($options{'parrot-config'});
}
Expand Down

0 comments on commit 7c5baa4

Please sign in to comment.