aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/cvs.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/cvs.t b/t/cvs.t
index 43a2ca3a8..371c21ec9 100755
--- a/t/cvs.t
+++ b/t/cvs.t
@@ -609,10 +609,10 @@ sub _generate_and_configure_post_commit_hook {
require IkiWiki::Wrapper;
if ($installed) {
- $IkiWiki::program_to_wrap = 'ikiwiki.out';
+ $IkiWiki::program_to_wrap = `which ikiwiki`;
}
else {
- $IkiWiki::program_to_wrap = `which ikiwiki`;
+ $IkiWiki::program_to_wrap = './ikiwiki.out';
}
# XXX substitute its interpreter to Makefile's $(PERL)
# XXX best solution: do this to all scripts during build