diff options
author | peter <peter@FreeBSD.org> | 1999-09-11 05:13:58 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-09-11 05:13:58 +0800 |
commit | 206cca709aa9444297a4b97e034287a4c5f54ee3 (patch) | |
tree | ad6efc8f3f8a1800a00c38945be9b87c11ad9ce3 /CVSROOT | |
parent | 5f9a4d912a12b3229c2f94e5968ace82181eb040 (diff) | |
download | freebsd-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-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 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; } |