From a6ac4221752b37c330d2ff8417ba75d398449a47 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 20 Aug 2012 16:45:01 +0000 Subject: [PATCH] Only substitute slashes if needed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1375099 13f79535-47bb-0310-9956-ffa450edef68 --- build/installwinconf.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/installwinconf.awk b/build/installwinconf.awk index 8ad1e58d8ca..60f784eabb2 100644 --- a/build/installwinconf.awk +++ b/build/installwinconf.awk @@ -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 { -- 2.47.3