]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Do variable setting in a more portable way such that it works on MacOS as well
authorRuediger Pluem <rpluem@apache.org>
Mon, 1 Feb 2021 10:29:07 +0000 (10:29 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 1 Feb 2021 10:29:07 +0000 (10:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1886098 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in

index a43c28a3775498251e5e982dd1caf707ea10b0c8..95a970a870471a0fc0c78470237e8b80f5ec77cf 100644 (file)
@@ -169,7 +169,7 @@ docs:
 update-changes:
        @for i in `find changes-entries -type f`; do \
            cp CHANGES CHANGES.tmp ; \
-           awk -vfname=$$i 'BEGIN{done = 0} \
+           awk -v fname=$$i 'BEGIN{done = 0} \
                            done == 0 && /^Changes with Apache /{ active = 1; print; next}; \
                            /^ *\*/ && active == 1 && done == 0{rec=$$0; while(getline<fname){if (! ($$0 ~ /^ *$$/)){print}}printf "\n";print rec; active = 0; done = 1; next} //;' \
            CHANGES.tmp > CHANGES ; \