IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 22719


Ignore:
Timestamp:
Feb 27, 2009, 3:02:26 PM (17 years ago)
Author:
Paul Price
Message:

Adding protection against building a tarball multiple times; intended to help with "-force all".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pschecklibs

    r22709 r22719  
    1111$version = "";
    1212$build = 0;
    13 %force;
     13my %force;
     14my %done;                       # Tarballs that have been processed
    1415@tARGV = ();
    1516for (; @ARGV > 0; ) {
     
    132133
    133134
    134     if ((defined $force{lc($name)} or defined $force{'all'}) and lc($tarball) ne "none") {
     135    if ((defined $force{lc($name)} or defined $force{'all'}) and
     136        not defined $done{$tarball} and lc($tarball) ne "none") {
    135137        # remove it for the list so we can check for -force for a library
    136138        # not in the list
    137139        &buildlib ($name, $tarball, $tardir, $configure_opts, $make_opts, $install_opts);
     140        $done{$tarball} = 1;
    138141        delete($force{lc($name)});
    139142        next;
Note: See TracChangeset for help on using the changeset viewer.