source: trunk/third/firefox/config/installchrome.pl @ 21695

Revision 21695, 1.3 KB checked in by rbasch, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21694, which included commits to RCS files with non-trunk default branches.
Line 
1#!perl -w
2#
3# The contents of this file are subject to the Netscape Public
4# License Version 1.1 (the "License"); you may not use this file
5# except in compliance with the License. You may obtain a copy of
6# the License at http://www.mozilla.org/NPL/
7
8# Software distributed under the License is distributed on an "AS
9# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
10# implied. See the License for the specific language governing
11# rights and limitations under the License.
12
13# The Original Code is Mozilla Communicator client code, released
14# March 31, 1998.
15#
16# The Initial Developer of the Original Code is Netscape
17# Communications Corporation. Portions created by Netscape are
18# Copyright (C) 1998-1999 Netscape Communications Corporation. All
19# Rights Reserved.
20#
21# Contributor(s):
22# Sean Su <ssu@netscape.com>
23#
24
25# Make sure there are at least two arguments
26if($#ARGV < 1)
27{
28  die "usage: $0 <os> <type> <target path>
29
30       os         : mac, unix, win32
31       type       : jar or resource
32       target path: path to where the chrome dir is at
33
34              ie: $0 win32 resource $ENV{MOZ_SRC}\\mozilla\\dist\\win32_d.obj\\bin\\chrome
35       \n";
36}
37
38require "$ENV{MOZ_SRC}/mozilla/config/installcfunc.pl";
39
40if(&InstallChrome($ARGV[0], $ARGV[1], $ARGV[2]) != 0)
41{
42  die "\n Error: InstallChrome($ARGV[0], $ARGV[1], $ARGV[2]): $!\n";
43}
44
Note: See TracBrowser for help on using the repository browser.