5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-12 10:58:30 -04:00
ardupilot/Tools/CodeStyle/ardupilot-astyle.sh
2019-01-23 16:07:04 +11:00

11 lines
167 B
Bash
Executable File

#!/bin/sh
if [ $(uname) = "Darwin" ]; then
DIR=$(dirname $(greadlink -f $0))
else
DIR=$(dirname $(readlink -f $0))
fi
astyle --options="${DIR}"/astylerc $*