gcc: quote characters in texi source

gcc/ChangeLog:

	PR bootstrap/57076
	* Makefile.in (gcc-vers.texi): Quote @, { and }.
This commit is contained in:
François-Xavier Coudert 2020-11-02 21:15:10 +01:00
parent 6bcbcea058
commit 034db20e2e

View File

@ -3286,7 +3286,7 @@ gcc-vers.texi: $(BASEVER) $(DEVPHASE)
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
fi) > $@T
$(build_file_translate) echo @set srcdir $(abs_srcdir) >> $@T
$(build_file_translate) echo @set srcdir `echo $(abs_srcdir) | sed -e 's|\\([@{}]\\)|@\\1|g'` >> $@T
if [ -n "$(PKGVERSION)" ]; then \
echo "@set VERSION_PACKAGE $(PKGVERSION)" >> $@T; \
fi