diff -r a8aa5d600806 -r 5b27412eeaf0 common/tools/populateziptemplate.pl --- a/common/tools/populateziptemplate.pl Mon May 11 13:48:11 2009 +0100 +++ b/common/tools/populateziptemplate.pl Mon May 11 17:31:24 2009 +0100 @@ -78,22 +78,7 @@ { # RnD repository my $name = "bin_rnd_$1_$2"; - # Enumerate all the files on the local disk that are in this repository - (my $dosCompatibleDst = $package->{dst}) =~ s{/}{\\}g; - my @files = `dir /b/s/a-d $dosCompatibleDst 2> nul:`; - #print "@files\n"; - next unless @files; - # Add the files to this zip object - @files = grep { - chomp; - s{\\}{/}g; - s!^[A-Z]:/$package->{dst}/!!i; - m{^epoc32/}i; - } @files; - #print "@files\n"; - push @allRndFiles, @files; # Create a zip object - my @includes = map { {name => "include", value => "$_"} } @files; push @{$zipConfig->{config}->{config}->{src}->{config}->{rnd}->{config}}, { set => @@ -112,6 +97,19 @@ }, ] }; + # Enumerate all the files on the local disk that are in this repository + (my $dosCompatibleDst = $package->{dst}) =~ s{/}{\\}g; + my @files = `dir /b/s/a-d $dosCompatibleDst 2> nul:`; + #print "@files\n"; + next unless @files; + # Add the files to this zip object + @files = grep { + chomp; + s{\\}{/}g; + s!^[A-Z]:/$package->{dst}/!!i; + m{^epoc32/}i; + } @files; + push @allRndFiles, @files; } else {