mirror of https://github.com/ArduPilot/ardupilot
Tools: build_log_message_documentation.sh: honour $BUILDLOGS
This commit is contained in:
parent
033266f94b
commit
52aa676db2
|
@ -3,7 +3,10 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
DIR="../buildlogs/LogMessages"
|
||||
if [ "x$BUILDLOGS" = "x" ]; then
|
||||
BUILDLOGS="../buildlogs"
|
||||
fi
|
||||
DIR="$BUILDLOGS/LogMessages"
|
||||
|
||||
# work from either APM directory or above
|
||||
[ -d ArduPlane ] || cd APM
|
||||
|
|
Loading…
Reference in New Issue