mhonarc-commits
[Top] [All Lists]

CVS: mhonarc/MHonArc/lib mhrcfile.pl,2.36,2.37

2003-08-12 20:58:34
Update of /cvsroot/mhonarc/mhonarc/MHonArc/lib
In directory subversions:/tmp/cvs-serv4993

Modified Files:
	mhrcfile.pl 
Log Message:
Keep trailing dirsep of mainrcdir.


Index: mhrcfile.pl
===================================================================
RCS file: /cvsroot/mhonarc/mhonarc/MHonArc/lib/mhrcfile.pl,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -r2.36 -r2.37
*** mhrcfile.pl	2 Aug 2003 06:15:37 -0000	2.36
--- mhrcfile.pl	13 Aug 2003 03:56:28 -0000	2.37
***************
*** 96,100 ****
      $handle = &file_open($file);
  
!     if ($file =~ m%(.*[$DIRSEPREX])%o) {
  	$pathhead = $1;
  	$MainRcDir = $pathhead  unless defined $MainRcDir;
--- 96,100 ----
      $handle = &file_open($file);
  
!     if ($file =~ m%(.*)[$DIRSEPREX]%o) {
  	$pathhead = $1;
  	$MainRcDir = $pathhead  unless defined $MainRcDir;

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV