httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1390511 - /httpd/httpd/branches/2.4.x/build/installwinconf.awk
Date Wed, 26 Sep 2012 14:25:38 GMT
Author: jim
Date: Wed Sep 26 14:25:37 2012
New Revision: 1390511

URL: http://svn.apache.org/viewvc?rev=1390511&view=rev
Log:
installwinconf.awk: install.log output tweaks; reduced path convertion

Modified:
    httpd/httpd/branches/2.4.x/build/installwinconf.awk

Modified: httpd/httpd/branches/2.4.x/build/installwinconf.awk
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/installwinconf.awk?rev=1390511&r1=1390510&r2=1390511&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/build/installwinconf.awk (original)
+++ httpd/httpd/branches/2.4.x/build/installwinconf.awk Wed Sep 26 14:25:37 2012
@@ -46,12 +46,12 @@ BEGIN {
         usertree = "C:/Documents and Settings";
     }
 
-    print "Installing Apache HTTP 2.0 server with" >tstfl;
+    print "Installing Apache HTTP Server 2.x with" >tstfl;
     print " DomainName =    " domainname >tstfl;
     print " ServerName =    " servername >tstfl;
     print " ServerAdmin =   " serveradmin >tstfl;
     print " ServerPort =    " serverport >tstfl;
-    print " ServerSslPort = " serverport >tstfl;
+    print " ServerSslPort = " serversslport >tstfl;
     print " ServerRoot =    " serverroot >tstfl;
 
     filelist["httpd.conf"] = "httpd.conf.in";
@@ -194,7 +194,6 @@ BEGIN {
           print "#LoadModule xml2enc_module modules/mod_xml2enc.so" > dstfl;
           continue;
         }
-        gsub( /^SSLMutex.*/, "SSLMutex default" );
         gsub( /@@ServerRoot@@/,   serverroot );
         gsub( /@exp_cgidir@/,     serverroot "/cgi-bin" );
         gsub( /@exp_sysconfdir@/, serverroot "/conf" );
@@ -223,9 +222,9 @@ BEGIN {
 
       if ( close(dstfl) >= 0 ) {
         print "Rewrote " srcfl "\n to " dstfl > tstfl;
-        gsub(/\//, "\\", srcfl);
         if ( sourceroot != "docs/conf/" ) {
-          if (system("del \"" srcfl "\"")) {
+          gsub(/\//, "\\", srcfl);
+          if (system("del 2>NUL \"" srcfl "\"")) {
             print "Failed to remove " srcfl > tstfl;
           } else {
             print "Successfully removed " srcfl > tstfl;
@@ -260,7 +259,7 @@ BEGIN {
     if ( sourceroot != "docs/conf/" ) {
       srcfl = confdefault "installwinconf.awk";
       gsub(/\//, "\\", srcfl);
-      if (system("del \"" srcfl "\"")) {
+      if (system("del 2>NUL \"" srcfl "\"")) {
         print "Failed to remove " srcfl > tstfl;
       } else {
         print "Successfully removed " srcfl > tstfl;



Mime
View raw message