check_format: Don't attempt to review perms of the symlinks
Change-Id: I3cd20ad9f1cadb5ca5e6de78d9b44d5df95f51d8 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2502 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: John Kariuki <John.K.Kariuki@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
6c23a6f4d9
commit
3425fc1fb8
@ -27,6 +27,10 @@ while read -r perm _res0 _res1 path; do
|
||||
continue
|
||||
fi
|
||||
|
||||
# Skip symlinks
|
||||
if [[ -L $path ]]; then
|
||||
continue
|
||||
fi
|
||||
fname=$(basename -- "$path")
|
||||
|
||||
case ${fname##*.} in
|
||||
|
Loading…
Reference in New Issue
Block a user