aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-11 05:13:58 +0800
committerpeter <peter@FreeBSD.org>1999-09-11 05:13:58 +0800
commit206cca709aa9444297a4b97e034287a4c5f54ee3 (patch)
treead6efc8f3f8a1800a00c38945be9b87c11ad9ce3 /CVSROOT
parent5f9a4d912a12b3229c2f94e5968ace82181eb040 (diff)
downloadfreebsd-ports-gnome-206cca709aa9444297a4b97e034287a4c5f54ee3.tar.gz
freebsd-ports-gnome-206cca709aa9444297a4b97e034287a4c5f54ee3.tar.zst
freebsd-ports-gnome-206cca709aa9444297a4b97e034287a4c5f54ee3.zip
I think I found the problem that was causing the path failures.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/commit_prep.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/CVSROOT/commit_prep.pl b/CVSROOT/commit_prep.pl
index 6263de983233..f749ea20f546 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;
}