aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-07-15 11:25:20 +0200
committerEmilio Jesus Gallego Arias2020-07-15 11:25:20 +0200
commitbcccf103bc714c57485fc82ccb7504ada8fcc737 (patch)
tree8255f2e86755aa1d879b6959c2e5e4952cc8dd64 /dev
parentf238b252019555c0a9ae5bb0f56b4c73192b1e86 (diff)
parent1b7565e81c52fd930d60c5a15679cdf18c8b9aa4 (diff)
Merge PR #12692: Compatibility of make-change-log with MacOS X whose "sed" does not support the "\+" operator of regular expressions
Reviewed-by: ejgallego
Diffstat (limited to 'dev')
-rwxr-xr-xdev/tools/make-changelog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/tools/make-changelog.sh b/dev/tools/make-changelog.sh
index de58527cca..413433ef41 100755
--- a/dev/tools/make-changelog.sh
+++ b/dev/tools/make-changelog.sh
@@ -28,7 +28,7 @@ esac
printf "Fixes? (space separated list of bug numbers)\n"
read -r fixes_list
-fixes_string="$(echo $fixes_list | sed 's/ /~ and /g; s,\([0-9]\+\),`#\1 <https://github.com/coq/coq/issues/\1>`_,g' | tr '~' '\n')"
+fixes_string="$(echo $fixes_list | sed 's/ /~ and /g; s,\([0-9][0-9]*\),`#\1 <https://github.com/coq/coq/issues/\1>`_,g' | tr '~' '\n')"
if [ ! -z "$fixes_string" ]; then fixes_string="$(printf '\n fixes %s,' "$fixes_string")"; fi
# shellcheck disable=SC2016