Fix CVS tests by uninverting $installed (cdfb4ab).

master
Amitai Schlair 2016-02-18 23:25:54 -05:00
parent 693e87fe18
commit b4222955b4
1 changed files with 2 additions and 2 deletions

View File

@ -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