Changeset 5575

Show
Ignore:
Timestamp:
06/03/08 16:29:22 (4 months ago)
Author:
morris
Message:

Fix a few bugs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • build/trunk/scripts/build.pl

    r5137 r5575  
    6060        } 
    6161        elsif($config->{"projects"}) { 
    62                 map { build($style, $_, $config); } split(/\s+/, $config->{"projects"}); 
     62                map { build($style, $_, $config, $version); } split(/\s+/, $config->{"projects"}); 
    6363        } 
    6464        else { 
    6565                opendir(DH, $PROJECTS_PATH) or die "$PROJECTS_PATH: $!"; 
    66                 map { build($style, $_, $config); } grep { !/^\./ } readdir(DH); 
     66                map { build($style, $_, $config, $version); } grep { !/^\./ } readdir(DH); 
    6767                closedir(DH); 
    6868        } 
     
    8080                `sudo rm -rf $work_path`; 
    8181         
    82                 exit(0) if $style eq "clean"; 
     82                return if $style eq "clean"; 
    8383        } 
    8484         
     
    192192                } 
    193193                 
    194            $subject .= " of $project " . ($version ne "trunk" ? $version : "") . " " . ($success ? "succeeded" : "failed") . " on $host/$os/$arch"; 
     194           $subject .= " of $project " . ($version ne "trunk" ? "$version " : "") . ($success ? "succeeded" : "failed") . " on $host/$os/$arch"; 
    195195                 
    196196                if($warnings > 0 || $errors > 0 || $failedtests > 0) {