fix bug #5296. copy registry.rdf instead of making an alias to prevent people from editing and checking in a customized chrome registry.

This commit is contained in:
pinkerton%netscape.com 1999-04-23 16:13:15 +00:00
Родитель 25cb3b9252
Коммит d50cc9c5e9
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -13,6 +13,7 @@ use Mac::Processes;
use Mac::Events;
use Cwd;
use File::Path;
use File::Copy;
# homegrown
use Moz;
@ -716,7 +717,10 @@ 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");