summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-21 19:51:05 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-21 19:51:05 +0000
commit7dd6385fdb181aabc8ec695c1e4d248ac834545b (patch)
tree46303100d6bae034ba338864ab5260aad4e3956a
parentc2c943bc25a83b5c4c3eab3b43a7b6e4c4f4ba33 (diff)
fix undef issue
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index b70f51175..848f1dda8 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -166,7 +166,7 @@ sub loadplugin ($) { #{{{
return if grep { $_ eq $plugin} @{$config{disable_plugins}};
- foreach my $dir (possibly_foolish_untaint($config{libdir}),
+ foreach my $dir (defined $config{libdir} ? possibly_foolish_untaint($config{libdir}) : undef,
"$installdir/lib/ikiwiki") {
if (defined $dir && -x "$dir/plugins/$plugin") {
require IkiWiki::Plugin::external;