From ba9f8f271f82eef7e5696c7d270f06ebc830b0c2 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Mon, 29 Oct 2018 09:34:46 +0000 Subject: [PATCH] HookFunctions: Fixed check for file extensions --- bin/tools/HookFunctions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/HookFunctions b/bin/tools/HookFunctions index 565ef123f7..9a8d2afbe9 100644 --- a/bin/tools/HookFunctions +++ b/bin/tools/HookFunctions @@ -398,7 +398,7 @@ checkBanner() for f in $fileList do fFile="${f##*/}" - [[ "$fFile" = "*.*" ]] && fExt="${fFile##*.}" || fExt="" + [[ "$fFile" = *.* ]] && fExt="${fFile##*.}" || fExt="" # Skip links if [ -h "$f" ]