diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-05-14 21:07:39 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-05-14 21:07:39 +0000 |
commit | 1af7a456da0f0da05355ed554c3082dd53b0ace2 (patch) | |
tree | aead1fbac936e21fcafbb2acde4070dd7aa11a67 /Tools/scripts/chkmodules.pl | |
parent | Add xfce4-xmms-plugin, a XFce plugin to control XMMS from xfce4-panel. (diff) |
support for symlinked portsdir (but no other symlinks in the ports tree)
chkversion: support for CVS blame with env CVSBLAME=yes
Notes
Notes:
svn path=/head/; revision=109168
Diffstat (limited to 'Tools/scripts/chkmodules.pl')
-rwxr-xr-x | Tools/scripts/chkmodules.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/chkmodules.pl b/Tools/scripts/chkmodules.pl index bf0d39ffc015..d1f97a857743 100755 --- a/Tools/scripts/chkmodules.pl +++ b/Tools/scripts/chkmodules.pl @@ -36,11 +36,10 @@ # Clement Laforet. # -use strict; -use File::Find; - require 5.005; use strict; +use File::Find; +use Cwd 'abs_path'; my $portsdir = $ENV{PORTSDIR} ? $ENV{PORTSDIR} : '/usr/ports'; my $cvsroot = $ENV{CVSROOT} ? $ENV{CVSROOT} : '/home/ncvs/CVSROOT-ports'; @@ -48,6 +47,7 @@ my @excludes = $ENV{EXCLUDE} ? split(' ', $ENV{EXCLUDE}) : ('local', 'rookies') -d "$portsdir" or die "Can't find ports tree at $portsdir.\n"; -f "$cvsroot/modules" or die "Can't read modules file $cvsroot/modules.\n"; +$portsdir = abs_path($portsdir); my %ports = ('ports' => 1); |