From: John Spray Date: Wed, 3 Jun 2015 09:09:09 +0000 (+0100) Subject: admin/build-doc: fix dependency checks X-Git-Tag: v9.0.2~64^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=539c1ba7211f579bad4f59ae824f1e68e620ecbd;p=ceph.git admin/build-doc: fix dependency checks Fixes: #11857 Signed-off-by: John Spray --- diff --git a/admin/build-doc b/admin/build-doc index f3ebd3402e39b..0b6e88eb81ed5 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -1,7 +1,5 @@ #!/bin/sh -set -e - cd "$(dirname "$0")" cd .. TOPDIR=`pwd` @@ -47,6 +45,10 @@ else fi fi +# Don't enable -e until after running all the potentially-erroring checks +# for availability of commands +set -e + cat src/osd/PG.h src/osd/PG.cc | doc/scripts/gen_state_diagram.py > doc/dev/peering_graph.generated.dot cd build-doc