]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
install.log output tweaks; reduced path convertion.
authorGuenter Knauf <fuankg@apache.org>
Thu, 11 Apr 2013 00:08:20 +0000 (00:08 +0000)
committerGuenter Knauf <fuankg@apache.org>
Thu, 11 Apr 2013 00:08:20 +0000 (00:08 +0000)
Backport r1390511.
Submitted/backported by: fuankg
Reviewed by: druggeri, gsmith

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1466739 13f79535-47bb-0310-9956-ffa450edef68

build/installwinconf.awk

index 2ff9672a8a8a21a7feb32bf50e0550fb62d4de1e..4104fd30ef97a813f31a2472f39d0b3573cab6a5 100644 (file)
@@ -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";
@@ -191,9 +191,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;
@@ -228,7 +228,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;