projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1eee27
)
fix printing of $@, which is clobbered by the call to gettext
author
Joey Hess
<joey@gnu.kitenet.net>
Sun, 28 Mar 2010 21:17:07 +0000
(17:17 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sun, 28 Mar 2010 21:17:07 +0000
(17:17 -0400)
problem reported by viric
IkiWiki/Setup/Automator.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Setup/Automator.pm
b/IkiWiki/Setup/Automator.pm
index e9a572450d07d3cf885355992c26ea9a5950ada4..38e0d4422bc0506ec2249273299313e672777a70 100644
(file)
--- a/
IkiWiki/Setup/Automator.pm
+++ b/
IkiWiki/Setup/Automator.pm
@@
-124,9
+124,10
@@
sub import (@) {
IkiWiki::run_hooks(checkconfig => sub { shift->() });
};
if ($@) {
+ my $err=$@;
print STDERR sprintf(gettext("** Disabling plugin %s, since it is failing with this message:"),
$plugin)."\n";
- print STDERR "$
@
\n";
+ print STDERR "$
err
\n";
push @{$bakconfig{disable_plugins}}, $plugin;
}
}