gunnar: server/kolabconf/lib/Kolab Conf.pm,1.8,1.9

cvs at kolab.org cvs at kolab.org
Thu Sep 6 12:06:10 CEST 2007


Author: gunnar

Update of /kolabrepository/server/kolabconf/lib/Kolab
In directory doto:/tmp/cvs-serv10427/lib/Kolab

Modified Files:
	Conf.pm 
Log Message:
For variable support in the OWNERSHIP setting we'll need to replace all variables.

Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/kolabconf/lib/Kolab/Conf.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Conf.pm	6 Sep 2007 08:46:58 -0000	1.8
+++ Conf.pm	6 Sep 2007 10:06:08 -0000	1.9
@@ -652,7 +652,7 @@
 {	
     my $var = shift;
 
-    if ($var =~ /\@{3}([^\s\@]+?)\@{3}/) {
+    while ($var =~ /\@{3}([^\s\@]+?)\@{3}/) {
 	my $attr = $1;
 	if ($Kolab::config{$attr}) {
 	    my $val = $Kolab::config{$attr};





More information about the commits mailing list