diff options
-rw-r--r-- | ikiwiki.setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki.setup b/ikiwiki.setup index a232a38..59e679b 100644 --- a/ikiwiki.setup +++ b/ikiwiki.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'; |