mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
04b46678a4
Most scripts/tools use non-portable `/bin/bash`, switch to environment agnostic `/usr/bin/env bash`.
22 lines
351 B
Bash
Executable File
22 lines
351 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cat >&2 <<EOF
|
|
This script is deprecated in favour of running waf with 'examples' as the main command
|
|
|
|
cd \$ARDUPILOT_HOME
|
|
./modules/waf/waf-light configure --board=linux
|
|
./modules/waf/waf-light examples
|
|
|
|
Sleeping for a few seconds to let you digest that.
|
|
EOF
|
|
|
|
sleep 4
|
|
|
|
set -x
|
|
|
|
PY="$(dirname $0)/build_examples.py"
|
|
|
|
$PY $*
|