[interchange-cvs] interchange - racke modified lib/Vend/Config.pm

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Fri Apr 4 07:48:00 2003


User:      racke
Date:      2003-04-04 12:47:05 GMT
Modified:  lib/Vend Config.pm
Log:
pass all database with MAP prefix to Shadow configuration

Revision  Changes    Path
2.108     +4 -4      interchange/lib/Vend/Config.pm


rev 2.108, prev_rev 2.107
Index: Config.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Config.pm,v
retrieving revision 2.107
retrieving revision 2.108
diff -u -r2.107 -r2.108
--- Config.pm	4 Apr 2003 04:51:06 -0000	2.107
+++ Config.pm	4 Apr 2003 12:47:04 -0000	2.108
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.107 2003/04/04 04:51:06 mheins Exp $
+# $Id: Config.pm,v 2.108 2003/04/04 12:47:04 racke Exp $
 #
 # Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
 # Copyright (C) 2003 ICDEVGROUP <interchange@icdevgroup.org>
@@ -48,7 +48,7 @@
 use Vend::File;
 use Vend::Data;
 
-$VERSION = substr(q$Revision: 2.107 $, 10);
+$VERSION = substr(q$Revision: 2.108 $, 10);
 
 my %CDname;
 my %CPname;
@@ -3252,8 +3252,8 @@
 				$c->{$val} = $d;
 			}
 		}
-		elsif ($p eq 'MAP') {
-			Vend::Table::Shadow::_parse_config_line ($d, $val);
+		elsif ($p =~ /^MAP/) {
+			Vend::Table::Shadow::_parse_config_line ($d, $p, $val);
 		}
 
 		else {