ardupilot/Tools/scripts/build_docs.sh
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00

17 lines
354 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# work from either APM directory or above
[ -d ArduPlane ] || cd APM
export DOCS_OUTPUT_BASE=./docs
(
$DOCS_OUTPUT_BASE/build-libs.sh
$DOCS_OUTPUT_BASE/build-arduplane.sh
$DOCS_OUTPUT_BASE/build-arducopter.sh
$DOCS_OUTPUT_BASE/build-apmrover2.sh
$DOCS_OUTPUT_BASE/build-ardusub.sh
) > $DOCS_OUTPUT_BASE/build_docs.log 2>&1