]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
admin/build-doc: add dot to the check list 33976/head
authorKefu Chai <kchai@redhat.com>
Sun, 15 Mar 2020 03:36:02 +0000 (11:36 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 15 Mar 2020 04:50:45 +0000 (12:50 +0800)
also print the missing list in stderr

Signed-off-by: Kefu Chai <kchai@redhat.com>
admin/build-doc

index b69c0aceb129fd8fc81de0e493cbe25fabeb0b1f..6f4483de0c81b4f610ce40ead803f10324f23dd3 100755 (executable)
@@ -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