Quote param values that include shell metacharacters

This commit is contained in:
Tom Eastep 2011-04-06 14:52:32 -07:00
parent e653a34865
commit 755c3cfd80

View File

@ -3041,7 +3041,7 @@ sub export_params() {
emit "#\n# From the params file\n#" unless $count++;
if ( $value =~ /\s/ ) {
if ( $value =~ /[\s()[]/ ) {
emit "$param='$value'";
} else {
emit "$param=$value";