summaryrefslogtreecommitdiffstats
path: root/CVSROOT/log_accum.pl
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-11-15 11:57:49 +0000
committerjoe <joe@FreeBSD.org>2001-11-15 11:57:49 +0000
commit85c757cef61e16d8d7d065bf81902b9d3e1cfea6 (patch)
tree5a6fe670d82a75b07955c62f1e892100f5a8cf31 /CVSROOT/log_accum.pl
parent88ef94f88740336801f8e07ad0d93446e75762fd (diff)
downloadFreeBSD-ports-85c757cef61e16d8d7d065bf81902b9d3e1cfea6.zip
FreeBSD-ports-85c757cef61e16d8d7d065bf81902b9d3e1cfea6.tar.gz
Move the names of some system tools into the config file.
Submitted by: alfred
Diffstat (limited to 'CVSROOT/log_accum.pl')
-rwxr-xr-xCVSROOT/log_accum.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl
index a8575ad..60fc5d3 100755
--- a/CVSROOT/log_accum.pl
+++ b/CVSROOT/log_accum.pl
@@ -228,7 +228,7 @@ sub get_revision_number {
my $rcsfile = "";
my $revision = "";
- open(RCS, "-|") || exec 'cvs', '-Qn', 'status', $file;
+ open(RCS, "-|") || exec $cfg::PROG_CVS, '-Qn', 'status', $file;
while (<RCS>) {
if (/^[ \t]*Repository revision/) {
chomp;
@@ -253,7 +253,8 @@ sub count_lines_in_revision {
my $rev = shift; # Revision number.
my $lines = 0;
- open(RCS, "-|") || exec 'cvs', '-Qn', 'update', '-p', "-r$rev", $file;
+ open(RCS, "-|") ||
+ exec $cfg::PROG_CVS, '-Qn', 'update', '-p', "-r$rev", $file;
while (<RCS>) {
++$lines;
}
@@ -277,7 +278,8 @@ sub change_summary_changed {
my ($rev, $rcsfile) = get_revision_number($file);
if ($rev and $rcsfile) {
- open(RCS, "-|") || exec 'cvs', '-Qn', 'log', "-r$rev", $file;
+ open(RCS, "-|") ||
+ exec $cfg::PROG_CVS, '-Qn', 'log', "-r$rev", $file;
while (<RCS>) {
if (/^date:.*lines:\s(.*)$/) {
$delta = $1;
OpenPOWER on IntegriCloud