Mailinglist Archive: opensuse-buildservice (284 mails)

< Previous Next >
Re: [opensuse-buildservice] negation of buildconfig Substitute does not work
  • From: Klaas Freitag <freitag@xxxxxxx>
  • Date: Tue, 23 Oct 2007 09:46:07 +0200
  • Message-id: <200710230946.08296.freitag@xxxxxxx>
On Friday 19 October 2007 17:14, Michael Schroeder wrote:
> Hmm, I don't see why, the code looks good to me:
>
>       $ll = shift @l;
>       if ($ll eq '!*') {
>         $config->{'substitute'} = {};
>       } elsif ($ll =~ /^!(.*)$/) {
>         delete $config->{'substitute'}->{$1};
>       } else {
>         $config->{'substitute'}->{$ll} = [ @l ];
>       }  
I assume all values in @l are trimmed?! Otherwise whitespaces 
might cause trouble here.

Klaas

-- 
Klaas Freitag                              Architect OPS/IPD
                        SUSE LINUX Products GmbH - Nuernberg
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >