summaryrefslogtreecommitdiff
path: root/tests/mk-script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mk-script')
-rwxr-xr-xtests/mk-script5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mk-script b/tests/mk-script
index a0fab2c90..b8bf735b7 100755
--- a/tests/mk-script
+++ b/tests/mk-script
@@ -273,10 +273,11 @@ EOF1
|| {FILE => 0};
my $n_vias = keys %$vias;
- my ($via, $val);
- while (($via, $val) = each %$vias)
+ my $via;
+ foreach $via (sort keys %$vias)
{
my $cmd;
+ my $val = $vias->{$via};
my $via_msg = ($n_vias == 1 ? '' : $via_msg_string{$via});
my $file_args = join (' ', @srcdir_rel_in_file);