add newline to --set-yaml value
YAML is picky about the data ending with a newline, and this makes it easier to accomplish thatmaster
parent
3166479fe4
commit
601caffac0
|
@ -104,7 +104,7 @@ sub getconfig () {
|
|||
eval q{use YAML::Any};
|
||||
eval q{use YAML} if $@;
|
||||
die $@ if $@;
|
||||
$config{$var}=Load($val);
|
||||
$config{$var}=Load($val."\n");
|
||||
},
|
||||
"version" => sub {
|
||||
print "ikiwiki version $IkiWiki::version\n";
|
||||
|
|
Loading…
Reference in New Issue