Index: trunk/ippScripts/scripts/dist_defineruns.pl
===================================================================
--- trunk/ippScripts/scripts/dist_defineruns.pl	(revision 32700)
+++ trunk/ippScripts/scripts/dist_defineruns.pl	(revision 32701)
@@ -94,9 +94,12 @@
     foreach my $label (@labels) {
         my $single;
+        my $cmdstage;
         if ($stage eq "skysingle") {
-            $stage = "sky";
+            $cmdstage = "sky";
             $single = 1;
-        } 
-        my $command = "$disttool -definebyquery -stage $stage -workdir $workdir -label $label";
+        } else {
+            $cmdstage = $stage;
+        }
+        my $command = "$disttool -definebyquery -stage $cmdstage -workdir $workdir -label $label";
         $command .= " -singlefilter" if $single;
         $command .= " -no_magic" if $no_magic;
