Skip to content

Commit 4c00cda

Browse files
committed
Use Cwd::realpath instead of rel2abs because rel2abs doesn't work
1 parent 5f7b3da commit 4c00cda

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ConfigureJVM.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
use warnings;
77
use Text::ParseWords;
88
use Getopt::Long;
9-
use File::Spec;
10-
use Cwd;
9+
use Cwd qw(cwd realpath);
1110
use lib "tools/lib";
1211
use NQP::Configure qw(fill_template_file fill_template_text
1312
slurp system_or_die sorry);
@@ -33,7 +32,7 @@
3332
}
3433

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

3837
# Save options in config.status
3938
unlink('config.status');

0 commit comments

Comments
 (0)