summaryrefslogtreecommitdiffstats
path: root/CVSROOT/checkoutlist
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-05-20 10:30:57 +0000
committerjoe <joe@FreeBSD.org>2001-05-20 10:30:57 +0000
commit2e200bfc547d77db4b7b90fd22fd8a302c7eab08 (patch)
tree3beaa11534d6dd214cdc53e8b2e5d527127ad5b4 /CVSROOT/checkoutlist
parente7425acbb873bce800c175c443467655d59a052f (diff)
downloadFreeBSD-ports-2e200bfc547d77db4b7b90fd22fd8a302c7eab08.zip
FreeBSD-ports-2e200bfc547d77db4b7b90fd22fd8a302c7eab08.tar.gz
Add a configuration file for customising the perl scripts. To use
it put the following at the top of the perl script: use lib $ENV{CVSROOT}; use CVSROOT::cfg; The config variables can then be referenced from the script by refering to them in the cfg package space, i.e. $cfg::TEMPLATE_HEADER. The choice was taken to write it in perl, instead of plain text, because it saves extra code in each script to parse the file, and additionally it allows the user extra flexibility enabling the user to create a dynamic configuration file that depends upon the host it's running on, for instance. Please read the warning in the file about making sure that it passes the perl syntax check (perl -c) before commiting updates to it.
Diffstat (limited to 'CVSROOT/checkoutlist')
-rw-r--r--CVSROOT/checkoutlist1
1 files changed, 1 insertions, 0 deletions
diff --git a/CVSROOT/checkoutlist b/CVSROOT/checkoutlist
index 5b9d9e6..48a5708 100644
--- a/CVSROOT/checkoutlist
+++ b/CVSROOT/checkoutlist
@@ -17,6 +17,7 @@
#
access
avail
+cfg.pm
commit_prep.pl
commitcheck
cvs_acls.pl
OpenPOWER on IntegriCloud