HookFunctions: Fixed check for file extensions

This commit is contained in:
Will Bainbridge
2018-10-29 09:34:46 +00:00
parent 30f4f70fda
commit ba9f8f271f

View File

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