summaryrefslogtreecommitdiff
path: root/doc/bugs/IkiWiki::Wrapper_should_use_destdir.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-12-12 14:21:08 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-12-12 14:21:08 -0500
commit41efa5ac923c47ebd5538ee5894b11e9ccf7637c (patch)
treea3d15145b15092d731517d07c68484105bb07853 /doc/bugs/IkiWiki::Wrapper_should_use_destdir.mdwn
parent1942fc3bd652868ab8d6842c2bb2bdf52c0ad9fb (diff)
parent88e8d4bf8d99b6df83deb680f1ed8685e6447875 (diff)
Merge branch 'master' into comments
Diffstat (limited to 'doc/bugs/IkiWiki::Wrapper_should_use_destdir.mdwn')
-rw-r--r--doc/bugs/IkiWiki::Wrapper_should_use_destdir.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/bugs/IkiWiki::Wrapper_should_use_destdir.mdwn b/doc/bugs/IkiWiki::Wrapper_should_use_destdir.mdwn
new file mode 100644
index 000000000..0a1efa394
--- /dev/null
+++ b/doc/bugs/IkiWiki::Wrapper_should_use_destdir.mdwn
@@ -0,0 +1,5 @@
+In IkiWiki/Wrapper.pm, the gen_wrapper function finds out what srcdir and destdir are set to in the config, but does not use them.
+
+Later in the sub, when a new wiki.cgi wrapper is being created when calling ikiwiki --setup /path/to/setup, it will only work if cgi\_wrapper in the config file is set to the full path. Otherwise, it creates wiki.cgi in the current working directory. It works with the other wrapper it sets up in my config - post\_update (using git), as that shows in the config with a full path.
+
+One workaround would be to mention in the setup file that cgi_wrapper has to be the full path, not just the file name, but that seems silly when destdir is also specified in that file and that's where it should go, and $config{destdir} is a known value in the Wrapper.pm file.