Created
August 6, 2011 21:22
-
-
Save tadzik/1129758 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Parrot/Configure/Options.pm b/lib/Parrot/Configure/Options.pm | |
index fe88706..09fc8a5 100644 | |
--- a/lib/Parrot/Configure/Options.pm | |
+++ b/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[^/]) { | |
+ $value = $ENV{PWD} . '/' . $value; | |
+ } | |
if ( $options_components->{short_circuits}{$key} ) { | |
push @short_circuits_seen, $key; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment