From 601caffac038e334d59ed4cc312750f8f4f8df2b Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@gnu.kitenet.net>
Date: Wed, 24 Mar 2010 15:25:10 -0400
Subject: [PATCH] add newline to --set-yaml value

YAML is picky about the data ending with a newline, and this makes
it easier to accomplish that
---
 ikiwiki.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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