aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/commit_prep.pl
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-14 01:20:12 +0800
committerpeter <peter@FreeBSD.org>1999-09-14 01:20:12 +0800
commit72f161b28a30082e514f58ade4d10e9d2c369f13 (patch)
tree9d46e15a8cf995ac366f22ed4f80ba7bf007948a /CVSROOT/commit_prep.pl
parent60fa2668b61b761c77dfd509a1859e0fac95b002 (diff)
downloadfreebsd-ports-gnome-72f161b28a30082e514f58ade4d10e9d2c369f13.tar.gz
freebsd-ports-gnome-72f161b28a30082e514f58ade4d10e9d2c369f13.tar.zst
freebsd-ports-gnome-72f161b28a30082e514f58ade4d10e9d2c369f13.zip
Don't check for $FreeBSD$ in src/etc or src/release. src/release would
be a big problem, and a couple of files in etc don't have comment fields. (eg: motd)
Diffstat (limited to 'CVSROOT/commit_prep.pl')
-rwxr-xr-xCVSROOT/commit_prep.pl14
1 files changed, 10 insertions, 4 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index 2fcfac82fd40..4966e3b76186 100755
--- a/CVSROOT/commit_prep.pl
+++ b/CVSROOT/commit_prep.pl
@@ -177,18 +177,24 @@ shift @ARGV;
$cvsroot=$ENV{'CVSROOT'} || "/home/ncvs";
$directory =~ s,^$cvsroot[/]+,,;
-if ($directory =~ /^src\//) {
+if ($directory =~ /^src/) {
$check_id = 1;
}
-#if ($directory =~ /^ports\//) {
+#if ($directory =~ /^ports/) {
# $check_id = 2;
#}
-if ($directory =~ /^src\/contrib\//) {
+if ($directory =~ /^src\/contrib/) {
$check_id = 3;
}
-if ($directory =~ /^src\/crypto\//) {
+if ($directory =~ /^src\/crypto/) {
$check_id = 3;
}
+if ($directory =~ /^src\/release/) {
+ $check_id = 0;
+}
+if ($directory =~ /^src\/etc/) {
+ $check_id = 0;
+}
#$login = $ENV{'USER'} || getlogin || (getpwuid($<))[0] || sprintf("uid#%d",$<);
#if ($login eq "peter") {
# print "directory:$directory, check_id:$check_id\n";