X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/72c3b81efb1079f8db070ac89e97e9b7bcedd61b..8d4342183b1c3a96797def6fff96feebacb90db6:/t/cvs.t?ds=sidebyside diff --git a/t/cvs.t b/t/cvs.t index 43a2ca3a8..6acafd701 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 @@ -708,5 +708,5 @@ sub stripext { } sub _wrapper_paths { - return qq{newenviron[i++]="PERL5LIB=$ENV{PERL5LIB}";}; + return qq{addenv("PERL5LIB", "$ENV{PERL5LIB}");}; }