diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-03-24 15:25:10 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-03-24 15:25:10 -0400 |
commit | 601caffac038e334d59ed4cc312750f8f4f8df2b (patch) | |
tree | 14e1a1e8e11ba05ec9c42758b6ace5415493134a | |
parent | 3166479fe4b170bf6ffd3f06c1422f65f7bbfe7e (diff) |
add newline to --set-yaml value
YAML is picky about the data ending with a newline, and this makes
it easier to accomplish that
-rwxr-xr-x | ikiwiki.in | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |