From bda5a6777d6191dac1767a75aae85edcd90b2d2a Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 21 Jul 2020 20:17:51 -0500 Subject: [PATCH] Fix awk --- lib/buildFileList.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/buildFileList.sh b/lib/buildFileList.sh index 11462989..70dc7c4d 100755 --- a/lib/buildFileList.sh +++ b/lib/buildFileList.sh @@ -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 #