From: Joey Hess Date: Wed, 24 Mar 2010 19:25:10 +0000 (-0400) Subject: add newline to --set-yaml value X-Git-Tag: 3.20100403~110 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/601caffac038e334d59ed4cc312750f8f4f8df2b add newline to --set-yaml value YAML is picky about the data ending with a newline, and this makes it easier to accomplish that --- diff --git a/ikiwiki.in b/ikiwiki.in index a8343ed0f..1758399ea 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -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";