Ignore:
Timestamp:
2014-12-11T15:48:25+13:00 (9 years ago)
Author:
Jeremy Symon
Message:

Handling CPU architecture properly (now there is a separate architecture-specific packages for jni libraries, and greenstone-tools is also set to architecture-specific since it contains native binaries)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/package-kits/linux/perllib/Greenstone/Package.pm

    r29577 r29583  
    77use File::Path 'make_path';
    88use File::Copy 'cp';
     9use POSIX 'uname';
    910use Greenstone::Helpers;
    1011use base 'Exporter';
     
    5758    $self->readconf ("global.conf");
    5859    $self->readconf ($distro_conf);
    59    
     60    $self->{config}->{ARCH} = (uname)[4];
     61
    6062    die "Distro '$args{distro}' is invalid (does not specify a manager)"
    6163        unless (exists $self->{config}->{MANAGER});
Note: See TracChangeset for help on using the changeset viewer.