mhonarc-commits
[Top] [All Lists]

CVS: mharc/bin apply-config,1.11,1.12

2002-09-27 22:18:00
Update of /cvsroot/mhonarc/mharc/bin
In directory subversions:/tmp/cvs-serv32304/bin

Modified Files:
	apply-config 
Log Message:
Fix in new default case code to handle where a _DIR variable maybe
blank to avoid stat() warnings.


Index: apply-config
===================================================================
RCS file: /cvsroot/mhonarc/mharc/bin/apply-config,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** apply-config	28 Sep 2002 05:01:07 -0000	1.11
--- apply-config	28 Sep 2002 05:17:48 -0000	1.12
***************
*** 152,155 ****
--- 152,156 ----
  		$config->{'MKNMZ_TMPL_DIR'}) {
  
+     next  unless $dir =~ /\S/;
      $dir =~ s/\/+$//;
      if ($dir !~ /^\Q$home\E\//o) {

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