5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-03-11 00:53:57 -03: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 $*