From 990d61d3fe7f2a8d83f98ab5844f865c33f2f08f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 4 Oct 2010 16:51:37 +0200 Subject: Use $SRCDIR favored over $PWD in ikiwiki config. --- ikiwiki_admin.setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ikiwiki_admin.setup b/ikiwiki_admin.setup index b7e67c8..2f5f357 100644 --- a/ikiwiki_admin.setup +++ b/ikiwiki_admin.setup @@ -9,7 +9,7 @@ our ($basedir, $builddir, $domain, $gitrepo); BEGIN { # git hook requires full path as basedir: $ENV{'HOME'} . '/mywiki' - $basedir = $ENV{'PWD'}; + $basedir = $ENV{'SRCDIR'} || $ENV{'PWD'}; $builddir = $ENV{'BUILDDIR'} || $basedir . '/build'; $domain = 'example.org'; $gitrepo = 'wiki'; -- cgit v1.2.3