This commit is contained in:
Gabo 2020-07-21 20:17:51 -05:00
parent 124f6c5d04
commit bda5a6777d

View file

@ -86,7 +86,7 @@ function BuildFileList() {
###########################
# Extract just the file and extension, reverse it, cut off extension,
# reverse it back, substitute to lowercase
FILE_TYPE=$(basename "${FILE}" | rev | cut -f1 -d'.' | rev | awk '{print tolower(${0})}')
FILE_TYPE=$(basename "${FILE}" | rev | cut -f1 -d'.' | rev | awk '{print tolower($0)}')
##############
# Print file #