projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684cd73
)
check for empty srcdir
author
Joey Hess
<joey@gnu.kitenet.net>
Sat, 14 Feb 2009 08:04:11 +0000
(
03:04
-0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sat, 14 Feb 2009 08:04:11 +0000
(
03:04
-0500)
This happens when using -dumpsetup
IkiWiki/Plugin/shortcut.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/shortcut.pm
b/IkiWiki/Plugin/shortcut.pm
index 5693ee7822f16bbca5bf45d93f7761450f8cd913..1840a5722a6300d7ce30d14cd4534ef2bc16a48d 100644
(file)
--- a/
IkiWiki/Plugin/shortcut.pm
+++ b/
IkiWiki/Plugin/shortcut.pm
@@
-20,7
+20,7
@@
sub getsetup () {
}
sub checkconfig () {
- if (defined $config{srcdir}) {
+ if (defined $config{srcdir}
&& length $config{srcdir}
) {
# Preprocess the shortcuts page to get all the available shortcuts
# defined before other pages are rendered.
my $srcfile=srcfile("shortcuts.".$config{default_pageext}, 1);