From 58270ebaf7515cb5e98e13093a7349a60538428b Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 15 Mar 2020 11:36:02 +0800 Subject: [PATCH] admin/build-doc: add dot to the check list also print the missing list in stderr Signed-off-by: Kefu Chai --- admin/build-doc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/build-doc b/admin/build-doc index b69c0aceb12..6f4483de0c8 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -31,15 +31,15 @@ elif command -v yum >/dev/null; then exit 1 fi else - for command in virtualenv doxygen ant ditaa cython; do + for command in dot virtualenv doxygen ant ditaa cython; do if ! command -v "$command" > /dev/null; then # add a space after old values missing="${missing:+$missing }$command" fi done if [ -n "$missing" ]; then - echo "$0: missing required command, please install them:" 1>&2 - echo "$missing" + echo "$0: missing required command, please install them:" 1>&2 + echo "$missing" 1>&2 exit 1 fi fi -- 2.47.3