Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cry when Configure.pl is given a relative path. Probably works for Un…

…ixes only
  • Loading branch information...
commit f1d2865a49d9e196adbe0b163f117db3d1593f0e 1 parent 13f3cf5
@tadzik tadzik authored rurban committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/Parrot/Configure/Options.pm
View
3  lib/Parrot/Configure/Options.pm
@@ -92,6 +92,9 @@ sub _initial_pass {
unless ( $valid_opts{$key} ) {
die qq/Invalid option "$key". See "perl $script --help" for valid options\n/;
}
+ if ( $key eq 'prefix' and $value !~ m[^/] ) {
+ die qq/Relative path given to --prefix, please pass an absolute path\n/;
+ }
if ( $options_components->{short_circuits}{$key} ) {
push @short_circuits_seen, $key;
}
Please sign in to comment.
Something went wrong with that request. Please try again.