From: Joey Hess <joey@kodama.kitenet.net>
Date: Wed, 6 Aug 2008 00:11:23 +0000 (-0400)
Subject: save the full path to the setup file
X-Git-Tag: 2.60~43
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/83888b75f10668df39c3a1e520e7748385bab9df

save the full path to the setup file
---

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.