build.pl (bfe63c26) | build.pl (149f2bc0) |
---|---|
1: 2 eval 'exec perl -S $0 ${1+"$@"}' 3 if 0; 4#************************************************************************* 5# 6# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7# 8# Copyright 2000, 2010 Oracle and/or its affiliates. --- 215 unchanged lines hidden (view full) --- 224 $deliver_env{'COMMON_OUTDIR'}++; 225 $deliver_env{'GUI'}++; 226 $deliver_env{'INPATH'}++; 227 $deliver_env{'OFFENV_PATH'}++; 228 $deliver_env{'OUTPATH'}++; 229 $deliver_env{'L10N_framework'}++; 230 }; 231 my $workspace_path = get_workspace_path(); # This also sets $initial_module | 1: 2 eval 'exec perl -S $0 ${1+"$@"}' 3 if 0; 4#************************************************************************* 5# 6# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7# 8# Copyright 2000, 2010 Oracle and/or its affiliates. --- 215 unchanged lines hidden (view full) --- 224 $deliver_env{'COMMON_OUTDIR'}++; 225 $deliver_env{'GUI'}++; 226 $deliver_env{'INPATH'}++; 227 $deliver_env{'OFFENV_PATH'}++; 228 $deliver_env{'OUTPATH'}++; 229 $deliver_env{'L10N_framework'}++; 230 }; 231 my $workspace_path = get_workspace_path(); # This also sets $initial_module |
232 my $source_config = SourceConfig -> new($workspace_path); | 232 my @additional_repositories = (); 233 234 # Collect additional repository directories from the ADDITIONAL_REPOSITORIES 235 # environment variable (typically set by configure). 236 foreach my $additional_repository (split(";", $ENV{ADDITIONAL_REPOSITORIES})) 237 { 238 next if $additional_repository eq ""; 239 # The repository path is expected to be relative to the workspace_path. 240 # For support of absolute paths we need functionality to distinguish between 241 # relative and absolute paths (provided by File::Spec). 242 my $path = Cwd::realpath(correct_path($workspace_path . "/" . $additional_repository)); 243 if ( -d $path) 244 { 245 push @additional_repositories, $path; 246 } 247 } 248 249 my $source_config = SourceConfig -> new($workspace_path, @additional_repositories); |
233 check_partial_gnumake_build($initial_module); 234 235 if ($html) { 236 if (defined $html_path) { 237 $html_file = correct_path($html_path . '/' . $ENV{INPATH}. '.build.html'); 238 } else { 239 my $log_directory = Cwd::realpath(correct_path($workspace_path . '/..')) . '/log'; 240 if ((!-d $log_directory) && (!mkdir($log_directory))) { --- 3285 unchanged lines hidden --- | 250 check_partial_gnumake_build($initial_module); 251 252 if ($html) { 253 if (defined $html_path) { 254 $html_file = correct_path($html_path . '/' . $ENV{INPATH}. '.build.html'); 255 } else { 256 my $log_directory = Cwd::realpath(correct_path($workspace_path . '/..')) . '/log'; 257 if ((!-d $log_directory) && (!mkdir($log_directory))) { --- 3285 unchanged lines hidden --- |