Set config_opts to array instead of scalar
authorTodd Lyons <tlyons@exim.org>
Tue, 22 Oct 2013 02:54:51 +0000 (19:54 -0700)
committerTodd Lyons <tlyons@exim.org>
Tue, 22 Oct 2013 02:54:51 +0000 (19:54 -0700)
run_build.pl

index 18f4cbfc4054e2eb5fbaf382d384ade221ac8b83..3ceb33114828ddb362b763eab384a77785d0bf05 100755 (executable)
@@ -1133,11 +1133,12 @@ sub configure
                 egrep '^[^#]' $local_conf `;
         push @confout, @tmp;
         # Build the config_opts array to send to the server
                 egrep '^[^#]' $local_conf `;
         push @confout, @tmp;
         # Build the config_opts array to send to the server
+        chomp @tmp;
         my @config_opts = grep s/(?:LOOKUP_|EXPERIMENTAL_|USE_)(\S+)=.*/$1/,
                           @tmp;
         push @config_opts, grep s/^(?:EXIM_)(PERL|PYTHON)=.*/$1/,
                            @tmp;
         my @config_opts = grep s/(?:LOOKUP_|EXPERIMENTAL_|USE_)(\S+)=.*/$1/,
                           @tmp;
         push @config_opts, grep s/^(?:EXIM_)(PERL|PYTHON)=.*/$1/,
                            @tmp;
-        $EximBuild::conf{config_opts} = @config_opts;
+        $EximBuild::conf{config_opts} = \@config_opts;
         
         # Does not matter what the Exim version is, as long as it is valid.
         my $exim_ver = $EximBuild::conf{exim_test_version} || '4.82';
         
         # Does not matter what the Exim version is, as long as it is valid.
         my $exim_ver = $EximBuild::conf{exim_test_version} || '4.82';