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" ]