From 3425fc1fb89441bffbe6a1eb9d10d622b5732676 Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Mon, 18 May 2020 15:10:58 +0200 Subject: [PATCH] check_format: Don't attempt to review perms of the symlinks Change-Id: I3cd20ad9f1cadb5ca5e6de78d9b44d5df95f51d8 Signed-off-by: Michal Berger Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2502 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: John Kariuki Reviewed-by: Darek Stojaczyk Reviewed-by: Tomasz Zawadzki --- scripts/check_format.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/check_format.sh b/scripts/check_format.sh index 3e52f76a9..e2c88f8f9 100755 --- a/scripts/check_format.sh +++ b/scripts/check_format.sh @@ -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