From 9224d7322119addf84b30da903d1a1303662a2ef Mon Sep 17 00:00:00 2001 From: volker Date: Wed, 30 Jun 2010 17:25:02 +0200 Subject: slxos-plugin install plugin plugin::attribute1="foo=bar=baz" matches now the first '=' and not the last... --- os-plugins/slxos-plugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os-plugins/slxos-plugin') diff --git a/os-plugins/slxos-plugin b/os-plugins/slxos-plugin index a725b886..ccd3d389 100755 --- a/os-plugins/slxos-plugin +++ b/os-plugins/slxos-plugin @@ -285,7 +285,7 @@ sub parsePluginAttrs my (%pluginAttrs, $pluginName, @attrSpecs); for my $arg (@ARGV) { - if ($arg =~ m{^(.+)=(.*)$}) { + if ($arg =~ m{^(.+?)=(.*)$}) { next if !$acceptAttributes; my $attr = $1; my $value = $2; -- cgit v1.2.3-55-g7522