Verified Commit 98da3441 authored by Philipp Sebastian Sommer's avatar Philipp Sebastian Sommer
Browse files

Fix get_initials function

parent 9f95845c
......@@ -50,7 +50,7 @@ function get_initials() {
for NAME in $FULLNAME; do
INITIALS="${INITIALS}${NAME:0:1}"
done
echo ${INITIALS}
echo ${INITIALS,,}
}
......@@ -61,5 +61,5 @@ while IFS= read -r GPG_UID; do
INITIALS=$(get_initials "${FULLNAME}")
git add-coauthor ${INITIALS,,} "${FULLNAME}" "${EMAIL}"
git add-coauthor ${INITIALS} "${FULLNAME}" "${EMAIL}"
done < <(git show-users)
......@@ -35,7 +35,7 @@ function get_initials() {
for NAME in $FULLNAME; do
INITIALS="${INITIALS}${NAME:0:1}"
done
echo ${INITIALS}
echo ${INITIALS,,}
}
while getopts ":h" option; do
......
......@@ -42,7 +42,7 @@ function get_initials() {
for NAME in $FULLNAME; do
INITIALS="${INITIALS}${NAME:0:1}"
done
echo ${INITIALS}
echo ${INITIALS,,}
}
while getopts ":h" option; do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment