save the full path to the setup file

master
Joey Hess 2008-08-05 20:11:23 -04:00
parent 46b3f54ab6
commit 83888b75f1
1 changed files with 2 additions and 0 deletions

View File

@ -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.