You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2021/02/01 10:29:08 UTC

svn commit: r1886098 - /httpd/httpd/trunk/Makefile.in

Author: rpluem
Date: Mon Feb  1 10:29:07 2021
New Revision: 1886098

URL: http://svn.apache.org/viewvc?rev=1886098&view=rev
Log:
* Do variable setting in a more portable way such that it works on MacOS as well

Modified:
    httpd/httpd/trunk/Makefile.in

Modified: httpd/httpd/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/Makefile.in?rev=1886098&r1=1886097&r2=1886098&view=diff
==============================================================================
--- httpd/httpd/trunk/Makefile.in (original)
+++ httpd/httpd/trunk/Makefile.in Mon Feb  1 10:29:07 2021
@@ -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 ; \