Commits

Anonymous committed a15cee9

#i111237# manipulate with source_config from the module parent directory

Comments (0)

Files changed (1)

solenv/bin/build.pl

 };
 
 sub generate_config_file {
-    my $source_config = SourceConfig->new();
+    my $source_config = SourceConfig->new($StandDir);
     $source_config->add_active_modules([keys %add_to_config], 1) if (scalar %add_to_config);
     $source_config->remove_activated_modules([keys %remove_from_config], 1) if (scalar %remove_from_config);
     $source_config->remove_all_activated_modules() if ($clear_config);
     %add_to_config = %$deps_hash;
     if ($prepare) {
         if ((!defined $ENV{UPDATER}) || (defined $ENV{CWS_WORK_STAMP})) {
-            SourceConfig->new()->add_active_modules([keys %add_to_config], 0);
+            SourceConfig->new($StandDir)->add_active_modules([keys %add_to_config], 0);
         }
         clear_delivered();
     }