Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Configure] make sure prefix is an absolute path, arnsholt++
  • Loading branch information
moritz committed Nov 2, 2013
1 parent 2a0f6c9 commit c95b6d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Configure.pl
Expand Up @@ -6,6 +6,7 @@
use warnings;
use Text::ParseWords;
use Getopt::Long;
use File::Spec;
use Cwd;
use lib 'tools/lib';
use NQP::Configure qw(sorry slurp cmp_rev gen_nqp read_config
Expand Down Expand Up @@ -47,7 +48,9 @@
exit(0);
}

my $prefix = $options{'prefix'} || cwd().'/install';
$options{prefix} ||= 'install';
$options{prefix} = File::Spec->rel2abs($options{prefix});
my $prefix = $options{'prefix'};
my %known_backends = (parrot => 1, jvm => 1);
my %letter_to_backend;
my $default_backend;
Expand Down

0 comments on commit c95b6d9

Please sign in to comment.