IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16042


Ignore:
Timestamp:
Jan 8, 2008, 1:39:48 PM (18 years ago)
Author:
eugene
Message:

check to !build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pscheckperl

    r16041 r16042  
    44
    55$version = "";
    6 $check = 1;
     6$build = 0;
    77@tARGV = ();
    88for (; @ARGV > 0; ) {
     
    1212    }
    1313    if ($ARGV[0] eq "-build") {
    14         $check = 0;
     14        $build = 1;
    1515        shift; next;
    1616    }
     
    5757print "PERL5LIB: $ENV{'PERL5LIB'}\n";
    5858
    59 if (!$check && ! -d $PSCONFDIR) {
     59if ($build && ! -d $PSCONFDIR) {
    6060    mkdir $PSCONFDIR || die "unable to create psconfig dir $PSCONFDIR";
    6161}
     
    7878
    7979    print "$module: missing\n";
    80     if ($check) {
     80    if (!$build) {
    8181        $Nmissing ++;
    8282        push @missing, $module;
     
    112112    chdir $homedir;
    113113}
    114 if ($check) {
     114if (!$build) {
    115115    if ($Nmissing > 0) {
    116116        print "The following $Nmissing perl modules are missing from your system\n";
Note: See TracChangeset for help on using the changeset viewer.