X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Fcheckpatches.sh;h=8e2beee16f8ff569364b553e56dd19389c737269;hb=4a4a20c4775b578379fc964952b0bbcff1ac88d6;hp=560e6ce93c6333215981baa6ebcb67e0ca7cfaa2;hpb=a70ed3884104df68d28105c8ebc1fb86ae1a6248;p=dpdk.git diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index 560e6ce93c..8e2beee16f 100755 --- a/devtools/checkpatches.sh +++ b/devtools/checkpatches.sh @@ -7,9 +7,9 @@ # - DPDK_CHECKPATCH_CODESPELL # - DPDK_CHECKPATCH_LINE_LENGTH # - DPDK_CHECKPATCH_OPTIONS -. $(dirname $(readlink -e $0))/load-devel-config +. $(dirname $(readlink -f $0))/load-devel-config -VALIDATE_NEW_API=$(dirname $(readlink -e $0))/check-symbol-change.sh +VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.sh # Enable codespell by default. This can be overwritten from a config file. # Codespell can also be enabled by setting DPDK_CHECKPATCH_CODESPELL to a valid path @@ -66,7 +66,7 @@ check_forbidden_additions() { # -v EXPRESSIONS="rte_panic\\\( rte_exit\\\(" \ -v RET_ON_FAIL=1 \ -v MESSAGE='Using rte_panic/rte_exit' \ - -f $(dirname $(readlink -e $0))/check-forbidden-tokens.awk \ + -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ "$1" || res=1 # svg figures must be included with wildcard extension @@ -75,7 +75,7 @@ check_forbidden_additions() { # -v EXPRESSIONS='::[[:space:]]*[^[:space:]]*\\.svg' \ -v RET_ON_FAIL=1 \ -v MESSAGE='Using explicit .svg extension instead of .*' \ - -f $(dirname $(readlink -e $0))/check-forbidden-tokens.awk \ + -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ "$1" || res=1 return $res