We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7b3da commit 4c00cdaCopy full SHA for 4c00cda
ConfigureJVM.pl
@@ -6,8 +6,7 @@
6
use warnings;
7
use Text::ParseWords;
8
use Getopt::Long;
9
-use File::Spec;
10
-use Cwd;
+use Cwd qw(cwd realpath);
11
use lib "tools/lib";
12
use NQP::Configure qw(fill_template_file fill_template_text
13
slurp system_or_die sorry);
@@ -33,7 +32,7 @@
33
32
}
34
35
my $prefix = $options{'prefix'} || cwd().'/install';
36
- $prefix = File::Spec->rel2abs($prefix);
+ $prefix = realpath($prefix);
37
38
# Save options in config.status
39
unlink('config.status');
0 commit comments