aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/cfg.pm
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-08-19 19:46:10 +0800
committerjoe <joe@FreeBSD.org>2001-08-19 19:46:10 +0800
commit6726051935748fab7bd7ce5cae262cceb59c49e3 (patch)
tree8d0d7970286769a0a7f49320f15ef99641694ae5 /CVSROOT/cfg.pm
parent8c9af079d79b1e149ebc5952cc72c236310aa704 (diff)
downloadfreebsd-ports-gnome-6726051935748fab7bd7ce5cae262cceb59c49e3.tar.gz
freebsd-ports-gnome-6726051935748fab7bd7ce5cae262cceb59c49e3.tar.zst
freebsd-ports-gnome-6726051935748fab7bd7ce5cae262cceb59c49e3.zip
The CVSROOT/scripts use a file, /tmp/#cvs.files.lastdir, to store
the name of the last directory in a multidirectory commit. Move the definition of this to cfg.pm so that it's defined in one place.
Diffstat (limited to 'CVSROOT/cfg.pm')
-rwxr-xr-xCVSROOT/cfg.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/CVSROOT/cfg.pm b/CVSROOT/cfg.pm
index a20c7bdca62d..4ada08a4c816 100755
--- a/CVSROOT/cfg.pm
+++ b/CVSROOT/cfg.pm
@@ -11,7 +11,8 @@
package cfg;
use strict;
use vars qw($DEBUG $FILE_PREFIX $MAILADDRS $MAILBANNER $MAILCMD
- $MAIL_ON_DIR_CREATION $TMPDIR %TEMPLATE_HEADERS);
+ $MAIL_ON_DIR_CREATION $TMPDIR %TEMPLATE_HEADERS
+ $LAST_FILE);
######################
@@ -29,6 +30,9 @@ $TMPDIR = "/tmp/";
# The filename prefix used for temporary files.
$FILE_PREFIX = "#cvs.files";
+# The file used to store the name of the last directory examined
+# when processing a multi-directory commit.
+$LAST_FILE = "$TMPDIR/$FILE_PREFIX.lastdir";
################
### logcheck ###