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:
13a2976
)
use debug() for wrapper-generation print outs
author
Jon Dowland
<jon@alcopop.org>
Wed, 20 Apr 2011 21:58:52 +0000
(22:58 +0100)
committer
Jon Dowland
<jon@alcopop.org>
Wed, 20 Apr 2011 21:58:52 +0000
(22:58 +0100)
Use the debug() subroutine for printing out when wrappers
are generated. This has the effect of hiding the messages
unless verbose mode is enabled.
IkiWiki/Wrapper.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Wrapper.pm
b/IkiWiki/Wrapper.pm
index 84cc7540bbfa5e63b8d9d85d21cc0b0d63bbb478..d3b3e00eae91c057a1789cf3f5c315e0118c9557 100644
(file)
--- a/
IkiWiki/Wrapper.pm
+++ b/
IkiWiki/Wrapper.pm
@@
-237,8
+237,7
@@
EOF
error("rename $wrapper.new $wrapper: $!");
}
#translators: The parameter is a filename.
- printf(gettext("successfully generated %s"), $wrapper);
- print "\n";
+ debug(gettext("successfully generated %s"), $wrapper);
}
1