IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32701


Ignore:
Timestamp:
Nov 17, 2011, 3:08:00 PM (14 years ago)
Author:
bills
Message:

don't change variable in middle of a loop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/dist_defineruns.pl

    r32700 r32701  
    9494    foreach my $label (@labels) {
    9595        my $single;
     96        my $cmdstage;
    9697        if ($stage eq "skysingle") {
    97             $stage = "sky";
     98            $cmdstage = "sky";
    9899            $single = 1;
    99         }
    100         my $command = "$disttool -definebyquery -stage $stage -workdir $workdir -label $label";
     100        } else {
     101            $cmdstage = $stage;
     102        }
     103        my $command = "$disttool -definebyquery -stage $cmdstage -workdir $workdir -label $label";
    101104        $command .= " -singlefilter" if $single;
    102105        $command .= " -no_magic" if $no_magic;
Note: See TracChangeset for help on using the changeset viewer.