https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664
--- Comment #35 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:d563b0bff19c31eb755c026ee990bca986683f25 commit r12-7588-gd563b0bff19c31eb755c026ee990bca986683f25 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Mar 9 14:53:52 2022 +0000 contrib: Fix non-portable shell commands in gcc-git-customization.sh [PR102664] Use printf instead of echo -n. Use Basic Regular Expressions instead of sed -r. Check for error from ancient Git versions that don't support the --git-path option for git-rev-parse. Remove -c flag from install command, as it's ignored by GNU and BSD install, but means something different for Solaris and AIX. contrib/ChangeLog: PR other/102664 * gcc-git-customization.sh: Fix non-portable commands.