Oops, use the more recent (and less brittle) directory test.

master
Amitai Schlair 2009-08-22 02:22:36 -04:00
parent 8f15311597
commit 5bdcd4d57b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ sub getopt () {
# "cvs add dir" acts immediately on the repository.
# post-commit gets confused by this and doesn't need to act on it.
# If that's why we're here, terminate the process.
@ARGV == 3 && $ARGV[1] eq "NONE" && $ARGV[2] eq "NONE" && exit 0;
((grep /New directory/, @ARGV) > 0) && exit 0;
}
sub checkconfig () {