have Makefile.PL check for dollar signs
Make treats any $ as an internal variable except $$. So have Makefile.PL when getting values turn any $ into $$. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
b4ce64bff4
commit
40980d44d6
1 changed files with 2 additions and 0 deletions
|
@ -1195,6 +1195,7 @@ sub _get_value {
|
|||
|
||||
# take value from install log if present
|
||||
if (exists $install_log_values{$key}) {
|
||||
$install_log_values{$key} =~ s/\$/\$\$/g;
|
||||
return $install_log_values{$key};
|
||||
}
|
||||
|
||||
|
@ -1214,6 +1215,7 @@ sub _get_value {
|
|||
$retry_msg .= _add_valid_values_disp($key, $valid_values);
|
||||
$val = prompt($retry_msg, $default);
|
||||
}
|
||||
$val =~ s/\$/\$\$/g;
|
||||
return $val;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue