aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-03-08 17:40:48 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-03-09 00:19:01 +0000
commit17bffa0c9f90df49bde6671816bde04008b6c5af (patch)
tree5204d5c4b51ddbfe25579c23956f3a487e1093a3 /gcc
parent8d038a841a6bb8e11c122d96e8f72b47ca3895c0 (diff)
downloadgcc-17bffa0c9f90df49bde6671816bde04008b6c5af.zip
gcc-17bffa0c9f90df49bde6671816bde04008b6c5af.tar.gz
gcc-17bffa0c9f90df49bde6671816bde04008b6c5af.tar.bz2
contrib: Fix non-portable sed commands in gcc-descr [PR102664/]
POSIX sed does not support \? or \+ in its Basic Regular Expression grammar. Replace the \(tags/\)\? part of the pattern with a substitution to remove ^tags/ before other substitutions. Replace \([0-9]\+\) with \([0-9][0-9]*\) or with \([1-9][0-9]*\) in release branch numbers, where a leading zero does not occur. contrib/ChangeLog: PR other/102664 * git-descr.sh: Use portable sed commands. * git-undescr.sh: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions