aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-10-31 12:47:27 +0100
committerGaëtan Gilbert2019-10-31 12:47:27 +0100
commit43bd5e05ddd23378fc9d2f82a07a4e3153819521 (patch)
tree0b0d611a7213d6d6efd5e72b7a650267f0c10218 /dev
parent6111d4866b5ad575ba1a8a5d934e8de75e6db87e (diff)
parent32053d5e82e69dda1eeaf1fd43d0656fe359be9f (diff)
Merge PR #10933: Add clarification in make-changelog.
Reviewed-by: SkySkimmer
Diffstat (limited to 'dev')
-rwxr-xr-xdev/tools/make-changelog.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/tools/make-changelog.sh b/dev/tools/make-changelog.sh
index ea96de970a..ec59a6047f 100755
--- a/dev/tools/make-changelog.sh
+++ b/dev/tools/make-changelog.sh
@@ -7,7 +7,8 @@ echo "Where? (type a prefix)"
(cd doc/changelog && ls -d */)
read -r where
-where=$(echo doc/changelog/"$where"*)
+where="doc/changelog/$where"
+if ! [ -d "$where" ]; then where=$(echo "$where"*); fi
where="$where/$PR-$(git rev-parse --abbrev-ref HEAD).rst"
# shellcheck disable=SC2016