aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/commit_prep.pl
diff options
context:
space:
mode:
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";