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 <ronald.stone@windriver.com> Change-Id: I4ffe8d3c0e2f272433b59d5c942bc8bdf4fc806c
This commit is contained in:
parent
8c7ee27b28
commit
9684d8f766
@ -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%/*}"
|
||||
|
Loading…
Reference in New Issue
Block a user