зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
25cb3b9252
Коммит
d50cc9c5e9
|
@ -13,6 +13,7 @@ use Mac::Processes;
|
||||||
use Mac::Events;
|
use Mac::Events;
|
||||||
use Cwd;
|
use Cwd;
|
||||||
use File::Path;
|
use File::Path;
|
||||||
|
use File::Copy;
|
||||||
|
|
||||||
# homegrown
|
# homegrown
|
||||||
use Moz;
|
use Moz;
|
||||||
|
@ -716,7 +717,10 @@ sub MakeResourceAliases()
|
||||||
BuildFolderResourceAliases(":mozilla:mailnews:ui:preference:resources:", "$msgpref_dir");
|
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
|
# Install XPFE component resources
|
||||||
InstallResources(":mozilla:xpfe:components:find:resources:MANIFEST", "$samples_dir");
|
InstallResources(":mozilla:xpfe:components:find:resources:MANIFEST", "$samples_dir");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче