2016-08-22 18:20:27 -03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
PATTERN="-e ."
|
|
|
|
|
|
|
|
if [ $# -gt 0 ]
|
|
|
|
then
|
|
|
|
PATTERN="$1"
|
|
|
|
fi
|
|
|
|
|
|
|
|
exec find src \
|
|
|
|
-path src/examples/attitude_estimator_ekf -prune -o \
|
|
|
|
-path src/examples/ekf_att_pos_estimator -prune -o \
|
|
|
|
-path src/lib/DriverFramework -prune -o \
|
|
|
|
-path src/lib/ecl -prune -o \
|
|
|
|
-path src/lib/matrix -prune -o \
|
2017-08-01 12:31:55 -03:00
|
|
|
-path src/lib/micro-CDR -prune -o \
|
2017-07-27 02:55:56 -03:00
|
|
|
-path src/modules/micrortps_bridge/micrortps_agent -prune -o \
|
2016-08-22 18:20:27 -03:00
|
|
|
-path src/modules/commander -prune -o \
|
|
|
|
-path src/modules/sdlog2 -prune -o \
|
|
|
|
-path src/modules/systemlib/uthash -prune -o \
|
|
|
|
-path src/modules/uavcan -prune -o \
|
|
|
|
-path src/modules/uavcan/libuavcan -prune -o \
|
2017-01-04 18:27:13 -04:00
|
|
|
-path src/modules/uavcanesc -o \
|
|
|
|
-path src/modules/uavcannode -o \
|
2016-08-22 18:20:27 -03:00
|
|
|
-type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) | grep $PATTERN
|