Skip to content

Commit 3246de8

Browse files
committed
always turn --prefix into an absolute path
1 parent 8d32819 commit 3246de8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ConfigureJVM.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use warnings;
77
use Text::ParseWords;
88
use Getopt::Long;
9+
use File::Spec;
910
use Cwd;
1011
use lib "tools/lib";
1112
use NQP::Configure qw(fill_template_file fill_template_text
@@ -32,6 +33,7 @@
3233
}
3334

3435
my $prefix = $options{'prefix'} || cwd().'/install';
36+
$prefix = File::Spec->rel2abs($prefix);
3537

3638
# Save options in config.status
3739
unlink('config.status');

0 commit comments

Comments
 (0)