From 206cca709aa9444297a4b97e034287a4c5f54ee3 Mon Sep 17 00:00:00 2001 From: peter <peter@FreeBSD.org> Date: Fri, 10 Sep 1999 21:13:58 +0000 Subject: I think I found the problem that was causing the path failures. --- CVSROOT/commit_prep.pl | 3 +++ 1 file changed, 3 insertions(+) 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; } -- cgit v1.1