summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Elliott <elliottc@objectcomputing.com>2022-10-12 10:15:04 -0500
committerChad Elliott <elliottc@objectcomputing.com>2022-10-12 10:15:04 -0500
commit52a01101184c9ae210bce15a3e93b58002eb1135 (patch)
treeba036e57aa5961b91758072163bf70403b6b209b /modules
parentb1c558fb74f21c9da63c84e6b116dbbb7bbeb02c (diff)
downloadMPC-52a01101184c9ae210bce15a3e93b58002eb1135.tar.gz
Sort the types to ensure that the combined custom type name will be the same each time.
Diffstat (limited to 'modules')
-rw-r--r--modules/ProjectCreator.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm
index d1bdbb50..e51cf6ca 100644
--- a/modules/ProjectCreator.pm
+++ b/modules/ProjectCreator.pm
@@ -5820,7 +5820,7 @@ sub combine_custom_types {
# synthetic type.
foreach my $in (keys %input) {
next if scalar @{$input{$in}} < 2;
- my $combo_tag = join('_and_', map {/(.+)_files$/; $1} @{$input{$in}})
+ my $combo_tag = join('_and_', map {/(.+)_files$/; $1} sort(@{$input{$in}}))
. '_files';
if (!$self->{'combined_custom'}->{$combo_tag}) {
$self->{'combined_custom'}->{$combo_tag} = $input{$in};