mirror of
https://github.com/apache/httpd.git
synced 2025-07-25 17:01:22 +00:00
* Correctly handle filenames that contain spaces
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
10
Makefile.in
10
Makefile.in
@ -167,19 +167,19 @@ docs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
update-changes:
|
update-changes:
|
||||||
@for i in `find changes-entries -type f`; do \
|
@find changes-entries -type f | while read -r i ; do \
|
||||||
cp CHANGES CHANGES.tmp ; \
|
cp CHANGES CHANGES.tmp ; \
|
||||||
awk -v fname=$$i 'BEGIN{done = 0; active = 0} \
|
awk -v fname="$$i" 'BEGIN{done = 0; active = 0} \
|
||||||
done == 0 && active == 0 && /^Changes with Apache /{ active = 1; print; next}; \
|
done == 0 && active == 0 && /^Changes with Apache /{ active = 1; print; next}; \
|
||||||
/^( *\*|Changes with Apache )/ && active == 1 && done == 0{rec=$$0; while((getline<fname) > 0){if (! ($$0 ~ /^ *$$/)){print}}printf "\n";print rec; active = 0; done = 1; next} //;' \
|
/^( *\*|Changes with Apache )/ && active == 1 && done == 0{rec=$$0; while((getline<fname) > 0){if (! ($$0 ~ /^ *$$/)){print}}printf "\n";print rec; active = 0; done = 1; next} //;' \
|
||||||
CHANGES.tmp > CHANGES ; \
|
CHANGES.tmp > CHANGES ; \
|
||||||
rm CHANGES.tmp ; \
|
rm CHANGES.tmp ; \
|
||||||
if [ -n "$(SVN)" ] ; then \
|
if [ -n "$(SVN)" ] ; then \
|
||||||
if ! $(SVN) rm $$i 2>/dev/null ; then \
|
if ! $(SVN) rm "$$i" 2>/dev/null ; then \
|
||||||
$(RM) $$i ; \
|
$(RM) "$$i" ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
else \
|
else \
|
||||||
$(RM) $$i ; \
|
$(RM) "$$i" ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
done ; \
|
done ; \
|
||||||
if [ -n "$(SVN)" ] ; then \
|
if [ -n "$(SVN)" ] ; then \
|
||||||
|
Reference in New Issue
Block a user