projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b3f54
)
save the full path to the setup file
author
Joey Hess
<joey@kodama.kitenet.net>
Wed, 6 Aug 2008 00:11:23 +0000
(20:11 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Wed, 6 Aug 2008 00:11:23 +0000
(20:11 -0400)
IkiWiki/Setup.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Setup.pm
b/IkiWiki/Setup.pm
index a34515f2148a2e8619ac70c3e1844086c20bfab3..e014a2a10a5e59c1ce4f1285a747e698f390d34f 100644
(file)
--- 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.