diff options
Diffstat (limited to 'CVSROOT/commit_prep.pl')
-rwxr-xr-x | CVSROOT/commit_prep.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl index 6263de9..f749ea2 100755 --- a/CVSROOT/commit_prep.pl +++ b/CVSROOT/commit_prep.pl @@ -158,6 +158,9 @@ close(ENTRIES); $directory = $ARGV[0]; shift @ARGV; +$cvsroot=$ENV{'CVSROOT'} || "/home/ncvs"; +$directory =~ s,^$cvsroot[/]+,,; + if ($directory =~ /src\//) { $check_id = 1; } |