* Do variable setting in a more portable way such that it works on MacOS as well

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1886098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ruediger Pluem
2021-02-01 10:29:07 +00:00
parent a2cf280a20
commit b09a823c34

View 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 ; \