From 9684d8f7666417e378ef412087bcc3a228c80759 Mon Sep 17 00:00:00 2001 From: Ron Stone Date: Fri, 1 Oct 2021 06:43:05 -0400 Subject: [PATCH] Convert file name to lower case uuidgen produced upper case uuids on some platforms (macOS). Changed timing of filename lowercasing to catch this. Signed-off-by: Ron Stone Change-Id: I4ffe8d3c0e2f272433b59d5c942bc8bdf4fc806c --- new-topic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new-topic.sh b/new-topic.sh index 0a0a9b5c1..d2736cf1f 100644 --- a/new-topic.sh +++ b/new-topic.sh @@ -101,8 +101,8 @@ ask_type filename="${title//[^[:alnum:]]/-}" filename=$(echo $filename | tr -s -) -filename=${filename,,} filename="${filename}-${myuuid}" +filename=${filename,,} [ $input == "i" ] && filename="index-${filename}" CONTEXT_DIR="${BASH_SOURCE%/*}"