summaryrefslogtreecommitdiffstats
path: root/CVSROOT/log_accum.pl
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-10 21:15:54 +0000
committerpeter <peter@FreeBSD.org>1999-09-10 21:15:54 +0000
commit220bcce63f78926e1d0a25dd4dfc557e0b06cd17 (patch)
treeb225ebd15c76aa5b45beb4246feb08534f44c0b8 /CVSROOT/log_accum.pl
parent0eaaac79f7030a411f6d14ad7316621433699686 (diff)
downloadFreeBSD-ports-220bcce63f78926e1d0a25dd4dfc557e0b06cd17.zip
FreeBSD-ports-220bcce63f78926e1d0a25dd4dfc557e0b06cd17.tar.gz
Try and swallow up any extra "/" characters after cvsroot.
Diffstat (limited to 'CVSROOT/log_accum.pl')
-rwxr-xr-xCVSROOT/log_accum.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl
index 40970e4..bdfb600 100755
--- a/CVSROOT/log_accum.pl
+++ b/CVSROOT/log_accum.pl
@@ -56,7 +56,7 @@ $SUMMARY_FILE = "/tmp/#cvs.files.summary";
$MAIL_FILE = "/tmp/#cvs.files.mail";
$SUBJ_FILE = "/tmp/#cvs.files.subj";
-$CVSROOT = "$ENV{'CVSROOT'}";
+$CVSROOT = $ENV{'CVSROOT'} || "/home/ncvs";
############################################################
#
@@ -230,7 +230,7 @@ sub change_summary_changed {
@revline = split(' ', $_);
$rev = $revline[2];
$rcsfile = $revline[3];
- $rcsfile =~ s,^$CVSROOT/,,;
+ $rcsfile =~ s,^$CVSROOT[/]+,,;
$rcsfile =~ s/,v$//;
}
}
OpenPOWER on IntegriCloud