Tools: build_log_message_documentation.sh: honour $BUILDLOGS

This commit is contained in:
Peter Barker 2021-07-08 11:22:23 +10:00 committed by Peter Barker
parent 033266f94b
commit 52aa676db2
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@
set -e set -e
set -x set -x
DIR="../buildlogs/LogMessages" if [ "x$BUILDLOGS" = "x" ]; then
BUILDLOGS="../buildlogs"
fi
DIR="$BUILDLOGS/LogMessages"
# work from either APM directory or above # work from either APM directory or above
[ -d ArduPlane ] || cd APM [ -d ArduPlane ] || cd APM