From d50cc9c5e9ca9275861a0450a6736c0d351cc3e6 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Fri, 23 Apr 1999 16:13:15 +0000 Subject: [PATCH] fix bug #5296. copy registry.rdf instead of making an alias to prevent people from editing and checking in a customized chrome registry. --- build/mac/NGLayoutBuildList.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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");