httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1375099 - /httpd/httpd/trunk/build/installwinconf.awk
Date Mon, 20 Aug 2012 16:45:01 GMT
Author: fuankg
Date: Mon Aug 20 16:45:01 2012
New Revision: 1375099

URL: http://svn.apache.org/viewvc?rev=1375099&view=rev
Log:
Only substitute slashes if needed.

Modified:
    httpd/httpd/trunk/build/installwinconf.awk

Modified: httpd/httpd/trunk/build/installwinconf.awk
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/installwinconf.awk?rev=1375099&r1=1375098&r2=1375099&view=diff
==============================================================================
--- httpd/httpd/trunk/build/installwinconf.awk (original)
+++ httpd/httpd/trunk/build/installwinconf.awk Mon Aug 20 16:45:01 2012
@@ -223,8 +223,8 @@ BEGIN {
 
       if ( close(dstfl) >= 0 ) {
         print "Rewrote " srcfl "\n to " dstfl > tstfl;
-        gsub(/\//, "\\", srcfl);
         if ( sourceroot != "docs/conf/" ) {
+          gsub(/\//, "\\", srcfl);
           if (system("del 2>NUL \"" srcfl "\"")) {
             print "Failed to remove " srcfl > tstfl;
           } else {



Mime
View raw message