]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
admin/build-doc: fix dependency checks 4877/head
authorJohn Spray <john.spray@redhat.com>
Wed, 3 Jun 2015 09:09:09 +0000 (10:09 +0100)
committerNathan Cutler <ncutler@suse.com>
Sat, 6 Jun 2015 08:06:04 +0000 (10:06 +0200)
http://tracker.ceph.com/issues/11857 Fixes: #11857

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 539c1ba7211f579bad4f59ae824f1e68e620ecbd)

Conflicts:
admin/build-doc
            Insert lines at appropriate spot

admin/build-doc

index dfbd5e45f0f6603787e5c80bea45047e779d5051..adc623360ab5a013e5bfd1a2021dd6094d50814c 100755 (executable)
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-set -e
-
 cd "$(dirname "$0")"
 cd ..
 TOPDIR=`pwd`
@@ -51,6 +49,10 @@ if [ ! -e build-doc/doxygen/xml ]; then
     doxygen
 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