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

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Tue Nov 5 23:37:00 2002


User:      kwalsh
Date:      2002-11-06 04:36:19 GMT
Modified:  lib/Vend Config.pm
Log:
	* One last change to the 'No Robot directive present' fix.

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


rev 2.80, prev_rev 2.79
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.79
retrieving revision 2.80
diff -u -r2.79 -r2.80
--- Config.pm	6 Nov 2002 04:13:53 -0000	2.79
+++ Config.pm	6 Nov 2002 04:36:18 -0000	2.80
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.79 2002/11/06 04:13:53 mheins Exp $
+# $Id: Config.pm,v 2.80 2002/11/06 04:36:18 kwalsh Exp $
 #
 # Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
 #
@@ -45,7 +45,7 @@
 use Vend::Util;
 use Vend::Data;
 
-$VERSION = substr(q$Revision: 2.79 $, 10);
+$VERSION = substr(q$Revision: 2.80 $, 10);
 
 my %CDname;
 
@@ -2439,9 +2439,9 @@
 }
 
 sub parse_list_wildcard_full {
-	my $value = '^(' . get_wildcard_list(@_,1) . ')$';
+	my $value = get_wildcard_list(@_,1);
 	return '' unless length($value);
-	return qr/$value/i;
+	return qr/^($value)$/i;
 }
 
 # Make a dos-ish regex into a Perl regex, check for errors