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 $*