gecko-dev/webtools/build/test.cgi

52 lines
1.7 KiB
Plaintext
Raw Normal View History

#!/usr/bin/env perl
1999-02-19 21:39:47 +00:00
#!/usr/bonsaitools/bin/perl --
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
1999-11-01 23:33:56 +00:00
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (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/
1999-02-19 21:39:47 +00:00
#
1999-11-01 23:33:56 +00:00
# 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.
1999-02-19 21:39:47 +00:00
#
# The Original Code is this file as it was released upon February 19, 1999.
#
# The Initial Developer of the Original Code is Netscape Communications
1999-11-01 23:33:56 +00:00
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
1999-02-19 21:39:47 +00:00
# test.cgi - Test different subsets of config.cgi
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
1999-02-19 22:04:11 +00: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-19 21:39:47 +00: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">
);
while (($key,$value) = each %ENV) {
print "<code>$key=$value</code><br>\n";
}
1999-02-19 21:39:47 +00:00
1999-03-05 00:44:17 +00:00
mkdir 'configure-mirror', 0777 if not -d 'configure-mirror';
print "Unable to create directory<br>\n" if not -d 'configure-mirror';
1999-02-19 21:39:47 +00:00
print "\n</body>\n</html>\n";