Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3166479
)
add newline to --set-yaml value
author
Joey Hess
<joey@gnu.kitenet.net>
Wed, 24 Mar 2010 19:25:10 +0000
(15:25 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Wed, 24 Mar 2010 19:25:10 +0000
(15:25 -0400)
YAML is picky about the data ending with a newline, and this makes
it easier to accomplish that
ikiwiki.in
patch
|
blob
|
history
diff --git
a/ikiwiki.in
b/ikiwiki.in
index a8343ed0f99bb1e44b98e7ba4757c48693a45376..1758399ea83e0380a4cc90337c5a3edfe0135327 100755
(executable)
--- 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";