diff options
author | Guenter Knauf <fuankg@apache.org> | 2012-08-20 16:45:01 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2012-08-20 16:45:01 +0000 |
commit | 7feb929d5db61fbfdca3eb61146ae912c342f458 (patch) | |
tree | 9a7613091a1a95389ef3760e195d0bf859b90b48 /build/installwinconf.awk | |
parent | 92f440b4fc3f912d69475d1776ede27b294afd56 (diff) | |
download | httpd-7feb929d5db61fbfdca3eb61146ae912c342f458.tar.gz |
Only substitute slashes if needed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1375099 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/installwinconf.awk')
-rw-r--r-- | build/installwinconf.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/installwinconf.awk b/build/installwinconf.awk index 8ad1e58d8c..60f784eabb 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 { |