From 92f440b4fc3f912d69475d1776ede27b294afd56 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 20 Aug 2012 16:40:03 +0000 Subject: [PATCH] Avoid error message from del since we print already an own. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1375097 13f79535-47bb-0310-9956-ffa450edef68 --- build/installwinconf.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/installwinconf.awk b/build/installwinconf.awk index 306137a6fc..8ad1e58d8c 100644 --- a/build/installwinconf.awk +++ b/build/installwinconf.awk @@ -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; -- 2.40.0