Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Configure: warning on missing --prefix option
requested for star in rakudo/star#40, and added here for consistency
  • Loading branch information
moritz committed Dec 7, 2014
1 parent 4a9ebae commit 8a9791d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Configure.pl
Expand Up @@ -51,7 +51,11 @@
exit(0);
}

$options{prefix} ||= 'install';
unless (defined $options{prefix}) {
my $dir = getcwd;
print "ATTENTION: no --prefix supplied, building and installing to $dir/install\n";
$options{prefix} = 'install';
}
$options{prefix} = File::Spec->rel2abs($options{prefix});
my $prefix = $options{'prefix'};
my %known_backends = (parrot => 1, jvm => 1, moar => 1);
Expand Down

0 comments on commit 8a9791d

Please sign in to comment.