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

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Fri Jan 3 17:56:01 2003


User:      racke
Date:      2003-01-03 22:55:54 GMT
Modified:  lib/Vend Config.pm
Log:
$configfile is a loop variable, so it is meaningless at this point
instead use initial value of @include

Revision  Changes    Path
2.91      +3 -3      interchange/lib/Vend/Config.pm


rev 2.91, prev_rev 2.90
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.90
retrieving revision 2.91
diff -u -r2.90 -r2.91
--- Config.pm	2 Jan 2003 22:47:38 -0000	2.90
+++ Config.pm	3 Jan 2003 22:55:54 -0000	2.91
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.90 2003/01/02 22:47:38 mheins Exp $
+# $Id: Config.pm,v 2.91 2003/01/03 22:55:54 racke Exp $
 #
 # Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
 # Copyright (C) 2003 ICDEVGROUP <interchange@icdevgroup.org>
@@ -46,7 +46,7 @@
 use Vend::Util;
 use Vend::Data;
 
-$VERSION = substr(q$Revision: 2.90 $, 10);
+$VERSION = substr(q$Revision: 2.91 $, 10);
 
 my %CDname;
 
@@ -960,7 +960,7 @@
 				my $msg = errmsg(
 					"Please specify the %s directive in the configuration file '%s'",
 					$CDname{$var},
-					$configfile,
+					($passed_file || $C->{ConfigFile}),
 				);
 
 				die "$msg\n";