Changeset 711

Show
Ignore:
Timestamp:
10/29/06 00:40:00 (2 years ago)
Author:
gboggs
Message:

Fixed --prod version stamping so that the -xy language code is used to name archive file and not the whole BUILD_VERSION_ID.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/build/Build.pm

    r710 r711  
    178178          : $self->{'beta=s'}  ? "b$self->{'beta=s'}" 
    179179          : '' ); 
    180         push @stamp, $self->{'short-lang=s'}; 
    181180        # Add repo, date and ldap to the stamp if we are not production. 
    182181        unless( $self->{'prod'} ) { 
     182            push @stamp, $self->{'short-lang=s'}; 
    183183            if( $self->{'rev!'} ) { 
    184184                push @stamp, lc( fileparse $self->{'repo=s'} ); 
     
    201201    # Set the full name to use for the distribution (e.g. MT-3.3b1-fr-r12345-20061225). 
    202202    $self->{'export-dir=s'} = "$self->{'pack=s'}-$self->{'stamp=s'}"; 
     203    # Production builds are explicitly named with their language code. 
     204    $self->{'export-dir=s'} .= "-$self->{'short-lang=s'}" if $self->{'prod'}; 
    203205} 
    204206