[PATCH] contrib: Avoid use of "echo -n" in git customization [PR102664]

Richard Earnshaw Richard.Earnshaw@foss.arm.com
Wed Mar 9 12:15:21 GMT 2022


The -n option to echo is non-portable.  The generally recommended
alternative is to use the shell printf command.

contrib/ChangeLog:

	PR other/102664
	* gcc-git-customization.sh (ask): Use printf instead of echo -n.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: echo-no-n.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20220309/00166674/attachment.bin>


More information about the Gcc-patches mailing list