Skip to content

Commit 7e2aa75

Browse files
committed
[Configure.pl] turn prefix into an absolute path
1 parent 54e960d commit 7e2aa75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Configure.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use warnings;
77
use Text::ParseWords;
88
use Getopt::Long;
9-
use Cwd;
9+
use Cwd qw/abs_path cwd/;
1010
use lib "tools/lib";
1111
use NQP::Configure qw(cmp_rev read_parrot_config
1212
fill_template_file fill_template_text
@@ -40,7 +40,7 @@
4040
"Use --with-parrot to specify the parrot executable to use."
4141
}
4242

43-
my $prefix = $options{'prefix'} || cwd().'/install';
43+
my $prefix = abs_path($options{'prefix'} || cwd().'/install');
4444
my $with_parrot = $options{'with-parrot'};
4545
my $gen_parrot = $options{'gen-parrot'};
4646

0 commit comments

Comments
 (0)