Can't build into a file :)
[sipb-www.git] / ikiwiki.setup
index 81df5cf47a8456977f74b71331f8f862621039d2..b44c2c8e91446adf8cc3d711c12631dcce542f5e 100644 (file)
@@ -208,7 +208,7 @@ if ($ENV{"IKIWIKI_PREVIEW_OUTPUT"}) {
 
   %setup_args = (
                 %common_setup_args,
-                srcdir => catdir($self_path, "wiki"),
+                srcdir => catdir($git_root, "wiki"),
                 destdir => $ENV{"IKIWIKI_PREVIEW_OUTPUT"},
                 url => 'http://sipb.mit.edu',
                 templatedir => catdir($ENV{"IKIWIKI_SHARE"}, 'templates'),