summaryrefslogtreecommitdiff
path: root/doc/bugs/svn_post-commit_wrapper_can__39__t_find_IkiWiki.pm_if_not_installed.mdwn
blob: 0c80960dd2d6d0d6ee59f4ab40044e915b9ba571 (plain)

If you're using ikiwiki without installing it, the svn post-commit wrapper will die (in a difficult-to-debug way) when it tries to execute ikiwiki.pl because it can't find IkiWiki.pm.

I'm not sure how to fix this in a secure way. For now I'm just changing use lib '.' in ikiwiki.pl to point to the hard-coded directory where ikiwiki was unpacked.

This workaround doesn't work here. "./ikiwiki.pl --setup ikiwiki.setup" is ok, but the wrappers fail in action. Using "FindBin" seems a solution. Here is a (kinda ugly) patch which also allows you to use basewiki + templates in the source directory. The patched version works fine in my homepage. --[[Roktas]]