add newline to --set-yaml value

YAML is picky about the data ending with a newline, and this makes
it easier to accomplish that
master
Joey Hess 2010-03-24 15:25:10 -04:00
parent 3166479fe4
commit 601caffac0
1 changed files with 1 additions and 1 deletions

View File

@ -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";