From: Michael Hafen Date: Wed, 18 Nov 2009 21:38:49 +0000 (-0700) Subject: have Makefile.PL check for dollar signs X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=40980d44d6f16c7e091973651916c7548164240b 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 --- diff --git a/Makefile.PL b/Makefile.PL index 5355c43..9adf81b9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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; }