summaryrefslogtreecommitdiffstats
path: root/CVSROOT/commit_prep.pl
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-09-14 00:34:30 +0000
committerjoe <joe@FreeBSD.org>2001-09-14 00:34:30 +0000
commit9d949c54d07fbc8c4b1444724c9d34b77c261035 (patch)
treee78d968dc38d6f2eff2e1fba3edfe095273bdcf7 /CVSROOT/commit_prep.pl
parent136ff04b1310fdbce89056634de0ba3207d218d9 (diff)
downloadFreeBSD-ports-9d949c54d07fbc8c4b1444724c9d34b77c261035.zip
FreeBSD-ports-9d949c54d07fbc8c4b1444724c9d34b77c261035.tar.gz
Don't try and contract rcsids in files that have been deleted or
are for some reason missing.
Diffstat (limited to 'CVSROOT/commit_prep.pl')
-rwxr-xr-xCVSROOT/commit_prep.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index 27d6bed..3b745a5 100755
--- a/CVSROOT/commit_prep.pl
+++ b/CVSROOT/commit_prep.pl
@@ -218,6 +218,9 @@ sub check_version {
sub fix_up_file {
my $filename = shift;
+ # not present - either removed or let cvs deal with it.
+ return 0 unless -f $filename;
+
open F, "< $filename" or die "Can't open $filename!\n";
my @file = <F>;
close F;
OpenPOWER on IntegriCloud