Merge pull request #457 from GaboFDC/gf_fix_get_file_type

Fix awk
This commit is contained in:
Lukas Gravley 2020-07-21 20:27:31 -05:00 committed by GitHub
commit e2923d0cca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 #