mhonarc-commits
[Top] [All Lists]

CVS: mharc install.pl,1.4,1.5

2002-09-27 22:14:26
Update of /cvsroot/mhonarc/mharc
In directory subversions:/tmp/cvs-serv32107

Modified Files:
	install.pl 
Log Message:
Fix stat() warning about CGI_DIR since it will not be defined for
existing installs.


Index: install.pl
===================================================================
RCS file: /cvsroot/mhonarc/mharc/install.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** install.pl	28 Sep 2002 05:05:01 -0000	1.4
--- install.pl	28 Sep 2002 05:14:18 -0000	1.5
***************
*** 170,174 ****
      $cur_mbox_dir = Cwd::abs_path($cur_config->{'MBOX_DIR'});
      $cur_html_dir = Cwd::abs_path($cur_config->{'HTML_DIR'});
!     $cur_cgi_dir  = Cwd::abs_path($cur_config->{'CGI_DIR'});
    }
    if (!$cur_mbox_dir) { $cur_mbox_dir = "$InstallDir/mbox"; }
--- 170,175 ----
      $cur_mbox_dir = Cwd::abs_path($cur_config->{'MBOX_DIR'});
      $cur_html_dir = Cwd::abs_path($cur_config->{'HTML_DIR'});
!     $cur_cgi_dir  = Cwd::abs_path($cur_config->{'CGI_DIR'})
! 	if defined($cur_config->{'CGI_DIR'});
    }
    if (!$cur_mbox_dir) { $cur_mbox_dir = "$InstallDir/mbox"; }

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