1999-03-05 03:23:57 +03:00
|
|
|
#!/usr/bin/env perl
|
1999-02-20 00:39:47 +03:00
|
|
|
#!/usr/bonsaitools/bin/perl --
|
|
|
|
# -*- Mode: perl; indent-tabs-mode: nil -*-
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public License
|
|
|
|
# Version 1.0 (the "License"); you may not use this file except in
|
|
|
|
# compliance with the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/NPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS"
|
|
|
|
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing rights and limitations
|
|
|
|
# under the License.
|
|
|
|
#
|
|
|
|
# The Original Code is this file as it was released upon February 19, 1999.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape Communications
|
|
|
|
# Corporation. Portions created by Netscape are Copyright (C) 1998
|
|
|
|
# Netscape Communications Corporation. All Rights Reserved.
|
|
|
|
|
|
|
|
# test.cgi - Test different subsets of config.cgi
|
|
|
|
|
|
|
|
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
|
|
|
|
|
1999-02-20 01:04:11 +03:00
|
|
|
$field_separator = '<<fs>>';
|
|
|
|
$configure_in = 'mozilla/configure.in';
|
|
|
|
$chrome_color = '#F0A000';
|
|
|
|
$ENV{CVSROOT} = ':pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot';
|
|
|
|
$ENV{PATH} = "$ENV{PATH}:/usr/bin/ccs";
|
|
|
|
|
1999-02-20 00:39:47 +03:00
|
|
|
print "Content-type: text/html\n\n\n";
|
|
|
|
print qq(
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
|
|
<TITLE>Configure Unix Mozilla build</TITLE>
|
|
|
|
</HEAD>
|
|
|
|
<body BGCOLOR="#FFFFFF" TEXT="#000000"LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">
|
|
|
|
);
|
|
|
|
|
1999-03-05 03:23:57 +03:00
|
|
|
while (($key,$value) = each %ENV) {
|
|
|
|
print "<code>$key=$value</code><br>\n";
|
|
|
|
}
|
1999-02-20 00:39:47 +03:00
|
|
|
|
1999-03-05 03:44:17 +03:00
|
|
|
mkdir 'configure-mirror', 0777 if not -d 'configure-mirror';
|
|
|
|
|
|
|
|
print "Unable to create directory<br>\n" if not -d 'configure-mirror';
|
1999-02-20 00:39:47 +03:00
|
|
|
|
|
|
|
print "\n</body>\n</html>\n";
|