aboutsummaryrefslogtreecommitdiff
path: root/dev/tools
diff options
context:
space:
mode:
authorHugo Herbelin2020-07-15 09:21:59 +0200
committerHugo Herbelin2020-07-15 09:21:59 +0200
commit1b7565e81c52fd930d60c5a15679cdf18c8b9aa4 (patch)
tree8255f2e86755aa1d879b6959c2e5e4952cc8dd64 /dev/tools
parentf238b252019555c0a9ae5bb0f56b4c73192b1e86 (diff)
Compatibility of make-change-log with MacOS X whose "sed" does not support "\+".
We make it compatible by expanding "[0-9]\+" into "[0-9][0-9]*".
Diffstat (limited to 'dev/tools')
-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