HookFunctions: Fixed check for file extensions
This commit is contained in:
@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user