]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Avoid error message from del since we print already an own.
authorGuenter Knauf <fuankg@apache.org>
Mon, 20 Aug 2012 16:40:03 +0000 (16:40 +0000)
committerGuenter Knauf <fuankg@apache.org>
Mon, 20 Aug 2012 16:40:03 +0000 (16:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1375097 13f79535-47bb-0310-9956-ffa450edef68

build/installwinconf.awk

index 306137a6fc8e2b037b559723b4d0787e444f9870..8ad1e58d8ca0a125abc2ead7f2f2c5cc80cd2c84 100644 (file)
@@ -225,7 +225,7 @@ BEGIN {
         print "Rewrote " srcfl "\n to " dstfl > tstfl;
         gsub(/\//, "\\", srcfl);
         if ( sourceroot != "docs/conf/" ) {
-          if (system("del \"" srcfl "\"")) {
+          if (system("del 2>NUL \"" srcfl "\"")) {
             print "Failed to remove " srcfl > tstfl;
           } else {
             print "Successfully removed " srcfl > tstfl;
@@ -260,7 +260,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;