diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 16:51:37 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 16:51:37 +0200 |
commit | 990d61d3fe7f2a8d83f98ab5844f865c33f2f08f (patch) | |
tree | b00b6d99e86670bd744728e3e9734849a1aa8007 | |
parent | a6e48e55ff509cb43c915dee441a622997554929 (diff) |
Use $SRCDIR favored over $PWD in ikiwiki config.
-rw-r--r-- | ikiwiki_admin.setup | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |