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

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Wed Jan 30 21:46:01 2002


User:      heins
Date:      2002-01-31 02:46:00 GMT
Modified:  lib/Vend Config.pm
Log:
* Fix problem found by Kevin Walsh -- if no UserTag defs are made
  in Global-land, get_system_code() was never run.

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


rev 2.27, prev_rev 2.26
Index: Config.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Config.pm,v
retrieving revision 2.26
retrieving revision 2.27
diff -u -r2.26 -r2.27
--- Config.pm	30 Jan 2002 01:09:06 -0000	2.26
+++ Config.pm	31 Jan 2002 02:46:00 -0000	2.27
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.26 2002/01/30 01:09:06 mheins Exp $
+# $Id: Config.pm,v 2.27 2002/01/31 02:46:00 mheins Exp $
 #
 # Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
 #
@@ -44,7 +44,7 @@
 use Vend::Parse;
 use Vend::Util;
 
-$VERSION = substr(q$Revision: 2.26 $, 10);
+$VERSION = substr(q$Revision: 2.27 $, 10);
 
 my %CDname;
 
@@ -1246,6 +1246,10 @@
 	close GLOBAL;
 	$done_one = 1;
 } # end GLOBLOOP;
+
+	# In case no user-supplied config has been given...returns
+	# with no effect if that has been done already.
+	get_system_code();
 
 	# Do some cleanup
 	set_global_defaults();