save the full path to the setup file
parent
46b3f54ab6
commit
83888b75f1
|
@ -8,9 +8,11 @@ use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
use IkiWiki;
|
use IkiWiki;
|
||||||
use open qw{:utf8 :std};
|
use open qw{:utf8 :std};
|
||||||
|
use File::Spec;
|
||||||
|
|
||||||
sub load ($) { # {{{
|
sub load ($) { # {{{
|
||||||
my $setup=IkiWiki::possibly_foolish_untaint(shift);
|
my $setup=IkiWiki::possibly_foolish_untaint(shift);
|
||||||
|
$config{setupfile}=File::Spec->rel2abs($config{setup});
|
||||||
delete $config{setup};
|
delete $config{setup};
|
||||||
#translators: The first parameter is a filename, and the second
|
#translators: The first parameter is a filename, and the second
|
||||||
#translators: is a (probably not translated) error message.
|
#translators: is a (probably not translated) error message.
|
||||||
|
|
Loading…
Reference in New Issue