summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Setup.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm
index a34515f21..e014a2a10 100644
--- a/IkiWiki/Setup.pm
+++ b/IkiWiki/Setup.pm
@@ -8,9 +8,11 @@ use warnings;
use strict;
use IkiWiki;
use open qw{:utf8 :std};
+use File::Spec;
sub load ($) { # {{{
my $setup=IkiWiki::possibly_foolish_untaint(shift);
+ $config{setupfile}=File::Spec->rel2abs($config{setup});
delete $config{setup};
#translators: The first parameter is a filename, and the second
#translators: is a (probably not translated) error message.