summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-05 20:11:23 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-05 20:11:23 -0400
commit83888b75f10668df39c3a1e520e7748385bab9df (patch)
treebb4c909ba6524ec4b48cd13e78cf4479e12d97b2 /IkiWiki
parent46b3f54ab6c8d3004915f7a4d921203c9e343ec8 (diff)
save the full path to the setup file
Diffstat (limited to 'IkiWiki')
-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.