diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 16:29:34 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 16:29:34 +0200 |
commit | c93c2656a8bb6d24ad52f20fccd6b425c84728e9 (patch) | |
tree | af2096a5773f65058718c49665ecc573e22dd075 | |
parent | 86cbb880ba9638924e9c7a641d74f7ea887f38f5 (diff) |
Use $SRCDIR favored over $PWD in ikiwiki config.
-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'; |