From 83888b75f10668df39c3a1e520e7748385bab9df Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 5 Aug 2008 20:11:23 -0400 Subject: [PATCH] save the full path to the setup file --- IkiWiki/Setup.pm | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.26.2