Introduced with the latest distbundle changes. does not occur with 3.4.27
Steps to reproduce:
1. add portal-ext.properties to configs/common
2. add portal-ext.properties to configs/prod with different content
3. run distBundleZip -Pliferay.workspace.environment=prod
You will see two portal-ext.properties
You should only see the one from prod not both.