Only examine argv if the VCS is cvs.

master
Amitai Schlair 2009-08-30 02:00:49 -04:00
parent 968c6c93b4
commit 5e94e973ee
1 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,7 @@ EOF
} }
my $check_cvs_add_dir=""; my $check_cvs_add_dir="";
# XXX conditionalize on $config{rcs} eq 'cvs' if ($config{rcs} eq 'cvs') {
$check_cvs_add_dir=<<"EOF"; $check_cvs_add_dir=<<"EOF";
{ {
int j; int j;
@ -54,6 +54,7 @@ EOF
exit(0); exit(0);
} }
EOF EOF
}
my $check_commit_hook=""; my $check_commit_hook="";
my $pre_exec=""; my $pre_exec="";