summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorOlivier Matz <olivier.matz@6wind.com>2017-12-14 15:21:40 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-01-04 18:15:35 +0100
commit2ba9a32c96a1846ebfbb92c64640cfe233551ec1 (patch)
tree2aca3a5c762c50882264c33f3593cadb05b46af1 /devtools
parent91a0eabf00cbd78a8630ff1b9279af1b2db92122 (diff)
downloaddpdk-2ba9a32c96a1846ebfbb92c64640cfe233551ec1.zip
dpdk-2ba9a32c96a1846ebfbb92c64640cfe233551ec1.tar.gz
dpdk-2ba9a32c96a1846ebfbb92c64640cfe233551ec1.tar.xz
devtools: enhance error message in get maintainer script
When the DPDK_GETMAINTAINER_PATH variable was not set, the error message from get-maintainer.sh was quite cheap: $ devtools/get-maintainer.sh --help usage: get-maintainer.sh <patch> Cannot execute DPDK_GETMAINTAINER_PATH Add a more detailed explanation about this variable in the help. Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/get-maintainer.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/devtools/get-maintainer.sh b/devtools/get-maintainer.sh
index 5ae6b5a..5a25913 100755
--- a/devtools/get-maintainer.sh
+++ b/devtools/get-maintainer.sh
@@ -42,15 +42,16 @@ options="$options --no-rolestats"
print_usage () {
cat <<- END_OF_HELP
usage: $(basename $0) <patch>
+
+ The DPDK_GETMAINTAINER_PATH variable should be set to the full path to
+ the get_maintainer.pl script located in Linux kernel sources. Example:
+ DPDK_GETMAINTAINER_PATH=~/linux/scripts/get_maintainer.pl
+
+ Also refer to devtools/load-devel-config to store your configuration.
END_OF_HELP
}
-# Requires DPDK_GETMAINTAINER_PATH devel config option set,
-# please check devtools/load-devel-config.
-# DPDK_GETMAINTAINER_PATH should be full path to the get_maintainer.pl script,
-# like:
-# DPDK_GETMAINTAINER_PATH=~/linux/scripts/get_maintainer.pl
-
+# Requires DPDK_GETMAINTAINER_PATH devel config option set
if [ ! -x "$DPDK_GETMAINTAINER_PATH" ] ; then
print_usage >&2
echo