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