diff options
Diffstat (limited to 'modules/ProjectCreator.pm')
-rw-r--r-- | modules/ProjectCreator.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm index e51cf6ca..de7ff8f5 100644 --- a/modules/ProjectCreator.pm +++ b/modules/ProjectCreator.pm @@ -4704,6 +4704,12 @@ sub get_custom_value { } } } + + ## Sort the list of commands based on the original type so that generated + ## projects are reproducable. + my $det = $self->{'custom_multi_details'}; + my @sorted = sort { $det->{$a}->{'type'} cmp $det->{$b}->{'type'} } @$value; + $value = \@sorted; } elsif (exists $self->{'custom_multi_details'}->{$based}->{$cmd}) { # only used with 'combined_custom' |