X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Fget-maintainer.sh;h=85740f5afd2af1ca67187c7d233721decca902e3;hb=7b6875ba6f37b32997d25e5e43ce62e99ca10597;hp=904b77858d4be96c28ce72e7ede5c816e0e68874;hpb=9d7c01f810baa677afeea4269fa7e6c5a1715f0b;p=dpdk.git diff --git a/devtools/get-maintainer.sh b/devtools/get-maintainer.sh index 904b77858d..85740f5afd 100755 --- a/devtools/get-maintainer.sh +++ b/devtools/get-maintainer.sh @@ -5,7 +5,7 @@ # Load config options: # - DPDK_GETMAINTAINER_PATH -. $(dirname $(readlink -e $0))/load-devel-config +. $(dirname $(readlink -f $0))/load-devel-config options="--no-git-fallback" options="$options --no-rolestats" @@ -23,7 +23,8 @@ print_usage () { } # Requires DPDK_GETMAINTAINER_PATH devel config option set -if [ ! -x "$DPDK_GETMAINTAINER_PATH" ] ; then +if [ ! -f "$DPDK_GETMAINTAINER_PATH" ] || + [ ! -x "$DPDK_GETMAINTAINER_PATH" ] ; then print_usage >&2 echo echo 'Cannot execute DPDK_GETMAINTAINER_PATH' >&2 @@ -31,7 +32,7 @@ if [ ! -x "$DPDK_GETMAINTAINER_PATH" ] ; then fi FILES="COPYING CREDITS Kbuild" -FOLDERS="Documentation arch include fs init ipc kernel scripts" +FOLDERS="Documentation arch include fs init ipc scripts" # Kernel script checks for some files and folders to run workaround () {