[Lxr-commits] CVS: lxr/lib/LXR/Files CVS.pm,1.45,1.46
Brought to you by:
ajlittoz
From: Andre-Littoz <ajl...@us...> - 2012-12-01 14:47:18
|
Update of /cvsroot/lxr/lxr/lib/LXR/Files In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16438/lib/LXR/Files Modified Files: CVS.pm Log Message: CVS.pm: avoid double / in paths Index: CVS.pm =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Files/CVS.pm,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- CVS.pm 14 Nov 2012 10:44:20 -0000 1.45 +++ CVS.pm 1 Dec 2012 14:47:14 -0000 1.46 @@ -48,7 +48,7 @@ $self = bless({}, $self); $self->{'rootpath'} = $rootpath; - $self->{'rootpath'} =~ s@/*$@/@; + $self->{'rootpath'} =~ s@/*$@@; $self->{'path'} = $config->{'cvspath'}; unless (defined $gnu_diff) { |