diff --git a/build/mac/NGLayoutBuildList.pm b/build/mac/NGLayoutBuildList.pm index 940892911e4..6d2e8bec655 100644 --- a/build/mac/NGLayoutBuildList.pm +++ b/build/mac/NGLayoutBuildList.pm @@ -13,6 +13,7 @@ use Mac::Processes; use Mac::Events; use Cwd; use File::Path; +use File::Copy; # homegrown use Moz; @@ -716,8 +717,11 @@ sub MakeResourceAliases() BuildFolderResourceAliases(":mozilla:mailnews:ui:preference:resources:", "$msgpref_dir"); } - MakeAlias(":mozilla:rdf:chrome:build:registry.rdf", "$chrome_dir"); - + # copy the chrome registry. We want an actual copy so that changes for custom UI's + # don't accidentally get checked into the tree. (pinkerton, bug#5296). + copy ( ":mozilla:rdf:chrome:build:registry.rdf", "$chrome_dir" . "registry.rdf" ); + print ( "copying mozilla:rdf:chrime:build:registry.rdf to $chrome_dir\n" ); + # Install XPFE component resources InstallResources(":mozilla:xpfe:components:find:resources:MANIFEST", "$samples_dir");